linux/fs/nfs
Ricardo Labiaga 9dfdf404c9 nfs41: Don't clear DRAINING flag on NFS4ERR_STALE_CLIENTID
If CREATE_SESSION fails with NFS4ERR_STALE_CLIENTID, don't clear the
NFS4CLNT_SESSION_DRAINING flag and don't wake RPCs waiting for the
session to be reestablished.  We don't have a session yet, so there
is no reason to wake other RPCs.

This avoids sending spurious compounds with bogus sequenceID during
session and state recovery.

Signed-off-by: Ricardo Labiaga <Ricardo.Labiaga@netapp.com>
[Trond.Myklebust@netapp.com: cleaned up patch by adding the
                             nfs41_begin/end_drain_session() helpers]
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2009-12-06 12:57:34 -05:00
..
cache_lib.c
cache_lib.h
callback_proc.c nfs41: v2 fix cb_recall bug 2009-12-05 13:48:55 -05:00
callback_xdr.c nfs41: V2 initial support for CB_RECALL_ANY 2009-12-05 13:27:02 -05:00
callback.c nfs41: add support for callback with RPC version number 4 2009-12-05 13:19:01 -05:00
callback.h nfs41: v2 fix cb_recall bug 2009-12-05 13:48:55 -05:00
client.c nfs41: V2 adjust max_rqst_sz, max_resp_sz w.r.t to rsize, wsize 2009-12-05 13:36:55 -05:00
delegation.c nfs41: v2 fix cb_recall bug 2009-12-05 13:48:55 -05:00
delegation.h nfs41: v2 fix cb_recall bug 2009-12-05 13:48:55 -05:00
dir.c nfs: clean up sillyrenaming in nfs_rename() 2009-12-03 15:58:56 -05:00
direct.c
dns_resolve.c NFSv4: Ensure nfs_dns_lookup() and nfs_dns_update() are declared static 2009-12-03 15:54:01 -05:00
dns_resolve.h
file.c
fscache-index.c
fscache.c
fscache.h
getroot.c
idmap.c
inode.c
internal.h NFSv41: Clean up slot table management 2009-12-05 19:32:19 -05:00
iostat.h
Kconfig
Makefile
mount_clnt.c
namespace.c
nfs2xdr.c
nfs3acl.c
nfs3proc.c
nfs3xdr.c
nfs4_fs.h nfs41: nfs41_setup_state_renewal 2009-12-06 12:23:46 -05:00
nfs4namespace.c
nfs4proc.c nfs41: Don't clear DRAINING flag on NFS4ERR_STALE_CLIENTID 2009-12-06 12:57:34 -05:00
nfs4renewd.c
nfs4state.c nfs41: Don't clear DRAINING flag on NFS4ERR_STALE_CLIENTID 2009-12-06 12:57:34 -05:00
nfs4xdr.c nfs41: RECLAIM_COMPLETE XDR functionality 2009-12-05 16:08:40 -05:00
nfsroot.c
pagelist.c
proc.c
read.c NFSv41: Clean up slot table management 2009-12-05 19:32:19 -05:00
super.c NFS: Revert default r/wsize behavior 2009-12-03 15:58:56 -05:00
symlink.c
sysctl.c
unlink.c NFSv41: Clean up slot table management 2009-12-05 19:32:19 -05:00
write.c NFSv41: Clean up slot table management 2009-12-05 19:32:19 -05:00