kernel_optimize_test/fs/nfsd
Andrew Elble 95da1b3a5a nfsd: deal with revoked delegations appropriately
If a delegation has been revoked by the server, operations using that
delegation should error out with NFS4ERR_DELEG_REVOKED in the >4.1
case, and NFS4ERR_BAD_STATEID otherwise.

The server needs NFSv4.1 clients to explicitly free revoked delegations.
If the server returns NFS4ERR_DELEG_REVOKED, the client will do that;
otherwise it may just forget about the delegation and be unable to
recover when it later sees SEQ4_STATUS_RECALLABLE_STATE_REVOKED set on a
SEQUENCE reply.  That can cause the Linux 4.1 client to loop in its
stage manager.

Signed-off-by: Andrew Elble <aweits@rit.edu>
Reviewed-by: Trond Myklebust <trond.myklebust@primarydata.com>
Cc: stable@vger.kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2017-11-07 16:44:02 -05:00
..
acl.h
auth.c
auth.h
blocklayout.c
blocklayoutxdr.c
blocklayoutxdr.h
cache.h
current_stateid.h
export.c
export.h
fault_inject.c nfsd: use ARRAY_SIZE 2017-10-05 13:56:39 -04:00
flexfilelayout.c
flexfilelayoutxdr.c
flexfilelayoutxdr.h
idmap.h
Kconfig
lockd.c
Makefile
netns.h nfds: avoid gettimeofday for nfssvc_boot time 2017-11-07 16:44:00 -05:00
nfs2acl.c
nfs3acl.c
nfs3proc.c
nfs3xdr.c nfds: avoid gettimeofday for nfssvc_boot time 2017-11-07 16:44:00 -05:00
nfs4acl.c
nfs4callback.c
nfs4idmap.c
nfs4layouts.c fs, nfsd: convert nfs4_stid.sc_count from atomic_t to refcount_t 2017-11-07 16:43:58 -05:00
nfs4proc.c nfds: avoid gettimeofday for nfssvc_boot time 2017-11-07 16:44:00 -05:00
nfs4recover.c
nfs4state.c nfsd: deal with revoked delegations appropriately 2017-11-07 16:44:02 -05:00
nfs4xdr.c nfsd: Incoming xdr_bufs may have content in tail buffer 2017-09-05 15:15:29 -04:00
nfscache.c
nfsctl.c
nfsd.h
nfsfh.c
nfsfh.h
nfsproc.c
nfssvc.c nfds: avoid gettimeofday for nfssvc_boot time 2017-11-07 16:44:00 -05:00
nfsxdr.c
pnfs.h
state.h fs, nfsd: convert nfs4_file.fi_ref from atomic_t to refcount_t 2017-11-07 16:43:59 -05:00
stats.c
stats.h
trace.c
trace.h
vfs.c annotate RWF_... flags 2017-08-31 17:32:38 -04:00
vfs.h
xdr.h
xdr3.h
xdr4.h nfsd4: fix cached replies to solo SEQUENCE compounds 2017-11-07 16:43:57 -05:00
xdr4cb.h