android_kernel_google_msm/fs/nfs
Trond Myklebust ba79592773 NFSv4.1: Handle NFS4ERR_DELAY when resetting the NFSv4.1 session
commit c489ee290b upstream.

NFS4ERR_DELAY is a legal reply when we call DESTROY_SESSION. It
usually means that the server is busy handling an unfinished RPC
request. Just sleep for a second and then retry.
We also need to be able to handle the NFS4ERR_BACK_CHAN_BUSY return
value. If the NFS server has outstanding callbacks, we just want to
similarly sleep & retry.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: Rui Xiang <rui.xiang@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-07 16:02:05 -07:00
..
blocklayout nfs: fix do_div() warning by instead using sector_div() 2013-12-20 07:34:20 -08:00
objlayout umount oops when remove blocklayoutdriver first 2013-02-28 06:59:02 -08:00
cache_lib.c NFS: remove RPC PipeFS mount point references from NFS cache routines 2012-01-31 18:20:26 -05:00
cache_lib.h NFS: DNS resolver PipeFS notifier introduced 2012-01-31 18:20:26 -05:00
callback.c NFS: hard-code init_net for NFS callback transports 2012-07-16 09:04:40 -07:00
callback.h NFSv4.1: Convert slotid from u8 to u32 2012-02-15 00:19:43 -05:00
callback_proc.c NFSv4: Further clean-ups of delegation stateid validation 2012-03-06 10:32:44 -05:00
callback_xdr.c NFSv4.1: integer overflow in decode_cb_sequence_args() 2014-06-07 16:02:04 -07:00
client.c NFS: avoid NULL dereference in nfs_destroy_server 2013-01-11 09:06:54 -08:00
delegation.c NFS: Fix a delegation callback race 2014-03-23 21:37:06 -07:00
delegation.h NFSv4.0: Re-establish the callback channel on NFS4ERR_CB_PATHDOWN 2012-03-10 11:54:36 -05:00
dir.c NFS: Fix calls to drop_nlink() 2013-01-11 09:06:54 -08:00
direct.c Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00
dns_resolve.c NFS: fix bug in legacy DNS resolver. 2012-11-17 13:16:12 -08:00
dns_resolve.h NFS: DNS resolver cache per network namespace context introduced 2012-01-31 18:20:26 -05:00
file.c nfs: skip commit in releasepage if we're freeing memory for fs-related reasons 2012-08-09 08:31:40 -07:00
fscache-index.c NFS: Use the inode->i_version to cache NFSv4 change attribute information 2011-10-18 09:14:34 -07:00
fscache.c NFS: Fix more NFS debug related build warnings 2012-03-21 09:31:44 -04:00
fscache.h
getroot.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
idmap.c NFS: return -ENOKEY when the upcall fails to map the name 2012-09-14 10:00:16 -07:00
inode.c nfs: don't allow nfs_find_actor to match inodes of the wrong type 2013-11-29 10:50:30 -08:00
internal.h nfs: Show original device name verbatim in /proc/*/mount{s,info} 2012-11-17 13:16:11 -08:00
iostat.h
Kconfig SUNRPC/NFS: Add Kbuild dependencies for NFS_DEBUG/RPC_DEBUG 2012-03-20 13:08:26 -04:00
Makefile pnfsblock: add blocklayout Kconfig option, Makefile, and stubs 2011-07-31 12:18:15 -04:00
mount_clnt.c nfsv3: Make v3 mounts fail with ETIMEDOUTs instead EIO on mountd timeouts 2012-11-17 13:16:11 -08:00
namespace.c NFS: Don't silently fail setattr() requests on mountpoints 2013-02-03 18:24:42 -06:00
netns.h NFS: replace global bl_wq with per-net one 2012-03-11 10:57:35 -04:00
nfs2xdr.c SUNRPC: constify the rpc_program 2012-01-31 19:28:20 -05:00
nfs3acl.c NFS: Fix a number of sparse warnings 2012-03-11 15:14:16 -04:00
nfs3proc.c SUNRPC handle EKEYEXPIRED in call_refreshresult 2013-11-29 10:50:32 -08:00
nfs3xdr.c SUNRPC: constify the rpc_program 2012-01-31 19:28:20 -05:00
nfs4_fs.h NFS: Fix following referral mount points with different security 2012-04-27 14:10:02 -04:00
nfs4filelayout.c SUNRPC handle EKEYEXPIRED in call_refreshresult 2013-11-29 10:50:32 -08:00
nfs4filelayout.h NFS: remove nfs_inode radix tree 2012-03-10 17:14:10 -05:00
nfs4filelayoutdev.c NFSv4.1 fix page number calculation bug for filelayout decode buffers 2012-04-26 12:23:23 -04:00
nfs4namespace.c nfs: Show original device name verbatim in /proc/*/mount{s,info} 2012-11-17 13:16:11 -08:00
nfs4proc.c NFSv4.1: Don't decode skipped layoutgets 2014-06-07 16:02:05 -07:00
nfs4renewd.c NFSv4: The NFSv4.0 client must send RENEW calls if it holds a delegation 2011-08-24 15:07:37 -04:00
nfs4state.c NFSv4.1: Handle NFS4ERR_DELAY when resetting the NFSv4.1 session 2014-06-07 16:02:05 -07:00
nfs4xdr.c NFSv4: OPEN must handle the NFS4ERR_IO return code correctly 2014-02-13 11:51:12 -08:00
nfsroot.c SUNRPC/NFS: Add Kbuild dependencies for NFS_DEBUG/RPC_DEBUG 2012-03-20 13:08:26 -04:00
pagelist.c NFS: remove nfs_inode radix tree 2012-03-10 17:14:10 -05:00
pnfs.c NFSv4.1: Fix a race in pNFS layoutcommit 2014-06-07 16:02:05 -07:00
pnfs.h pnfs: defer release of pages in layoutget 2012-09-14 10:00:15 -07:00
pnfs_dev.c NFS: Fix more NFS debug related build warnings 2012-03-21 09:31:44 -04:00
proc.c SUNRPC handle EKEYEXPIRED in call_refreshresult 2013-11-29 10:50:32 -08:00
read.c NFS: put open context on error in nfs_pagein_multi 2012-04-20 14:54:48 -04:00
super.c nfs: fix null checking in nfs_get_option_str() 2013-01-11 09:06:56 -08:00
symlink.c
sysctl.c NFS: Fall back on old idmapper if request_key() fails 2012-02-06 18:48:01 -05:00
unlink.c NFS: Don't allow NFS silly-renamed files to be deleted, no signal 2013-03-14 11:29:42 -07:00
write.c nfs: tear down caches in nfs_init_writepagecache when allocation fails 2014-02-20 10:45:33 -08:00