android_kernel_xiaomi_sm8350/fs/nfs
Jeff Layton 06e02d66fa NFS: don't let nfs_callback_svc exit on unexpected svc_recv errors (try #2)
When svc_recv returns an unexpected error, nfs_callback_svc will print a
warning and exit. This problematic for several reasons. In particular,
it will cause the reference counts for the thread to be wrong, and no
new thread will be started until all nfs4 mounts are unmounted.

Rather than exiting on error from svc_recv, have the thread do a 1s
sleep and then retry the loop. This is unlikely to cause any harm, and
if the error turns out to be something temporary then it may be able to
recover.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2008-04-23 16:13:42 -04:00
..
callback_proc.c
callback_xdr.c nfs: fix sparse warnings 2008-02-20 16:15:44 -05:00
callback.c NFS: don't let nfs_callback_svc exit on unexpected svc_recv errors (try #2) 2008-04-23 16:13:42 -04:00
callback.h
client.c
delegation.c nfs: fix sparse warnings 2008-02-20 16:15:44 -05:00
delegation.h
dir.c [PATCH] r/o bind mounts: check mnt instead of superblock directly 2008-04-19 00:29:27 -04:00
direct.c
file.c fix bug - executing FDPIC ELF on NFS mount triggers BUG() at mm/nommu.c:862:/do_mmap_private() 2008-04-08 21:06:56 -04:00
getroot.c Convert ERR_PTR(PTR_ERR(p)) instances to ERR_CAST(p) 2008-02-07 08:42:26 -08:00
idmap.c nfs: fix sparse warnings 2008-02-20 16:15:44 -05:00
inode.c NFS: initialize flags field in nfs_open_context 2008-04-08 21:06:53 -04:00
internal.h NFS: use new LSM interfaces to explicitly set mount options 2008-03-06 08:40:59 +11:00
iostat.h
Makefile
mount_clnt.c
namespace.c Introduce path_put() 2008-02-14 21:13:33 -08:00
nfs2xdr.c
nfs3acl.c
nfs3proc.c
nfs3xdr.c
nfs4_fs.h
nfs4namespace.c
nfs4proc.c Embed a struct path into struct nameidata instead of nd->{dentry,mnt} 2008-02-14 21:13:33 -08:00
nfs4renewd.c
nfs4state.c nfs: fix sparse warnings 2008-02-20 16:15:44 -05:00
nfs4xdr.c
nfsroot.c
pagelist.c
proc.c
read.c nfs: don't ignore return value from nfs_pageio_add_request 2008-03-19 17:59:02 -04:00
super.c [PATCH] do shrink_submounts() for all fs types 2008-03-27 20:47:58 -04:00
symlink.c nfs: remove unnecessary NFS_NEED_* defines 2008-04-23 16:13:37 -04:00
sysctl.c
unlink.c
write.c nfs: don't ignore return value from nfs_pageio_add_request 2008-03-19 17:59:02 -04:00