kernel_optimize_test/fs/nfsd
Scott Mayhew 1c73b9d24f nfsd: update callback done processing
Instead of having the convention where individual nfsd4_callback_ops->done
operations return -1 to indicate the callback path is down, move the check
to nfsd4_cb_done.  Only mark the callback path down on transport-level
errors, not NFS-level errors.

The existing logic causes the server to set SEQ4_STATUS_CB_PATH_DOWN
just because the client returned an error to a CB_RECALL for a
delegation that the client had already done a FREE_STATEID for.  But
clearly that error doesn't mean that there's anything wrong with the
backchannel.

Additionally, handle NFS4ERR_DELAY in nfsd4_cb_recall_done.  The client
returns NFS4ERR_DELAY if it is already in the process of returning the
delegation.

Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2019-05-03 11:01:38 -04:00
..
acl.h
auth.c
auth.h
blocklayout.c
blocklayoutxdr.c
blocklayoutxdr.h
cache.h knfsd: Improve lookup performance in the duplicate reply cache using an rbtree 2018-10-29 16:58:04 -04:00
current_stateid.h
export.c nfsd: knfsd must use the container user namespace 2019-04-24 09:46:35 -04:00
export.h
fault_inject.c
flexfilelayout.c
flexfilelayoutxdr.c
flexfilelayoutxdr.h
idmap.h
Kconfig
lockd.c
Makefile
netns.h nfsd: Allow containers to set supported nfs versions 2019-04-24 09:46:35 -04:00
nfs2acl.c
nfs3acl.c
nfs3proc.c nfsd/nfsd3_proc_readdir: fix buffer count and page pointers 2019-04-05 19:57:24 -04:00
nfs3xdr.c nfsd: knfsd must use the container user namespace 2019-04-24 09:46:35 -04:00
nfs4acl.c
nfs4callback.c nfsd: update callback done processing 2019-05-03 11:01:38 -04:00
nfs4idmap.c nfsd: knfsd must use the container user namespace 2019-04-24 09:46:35 -04:00
nfs4layouts.c nfsd: update callback done processing 2019-05-03 11:01:38 -04:00
nfs4proc.c nfsd: Allow containers to set supported nfs versions 2019-04-24 09:46:35 -04:00
nfs4recover.c nfsd: handle legacy client tracking records sent by nfsdcld 2019-04-24 09:46:34 -04:00
nfs4state.c nfsd: update callback done processing 2019-05-03 11:01:38 -04:00
nfs4xdr.c nfsd: knfsd must use the container user namespace 2019-04-24 09:46:35 -04:00
nfscache.c mm: convert totalram_pages and totalhigh_pages variables to atomic 2018-12-28 12:11:47 -08:00
nfsctl.c SUNRPC: Cache the process user cred in the RPC server listener 2019-04-24 09:46:35 -04:00
nfsd.h nfsd: knfsd must use the container user namespace 2019-04-24 09:46:35 -04:00
nfsfh.c
nfsfh.h
nfsproc.c
nfssvc.c lockd: Pass the user cred from knfsd when starting the lockd server 2019-04-24 09:46:35 -04:00
nfsxdr.c nfsd: knfsd must use the container user namespace 2019-04-24 09:46:35 -04:00
pnfs.h
state.h nfsd: make nfs4_client_reclaim use an xdr_netobj instead of a fixed char array 2019-04-24 09:46:34 -04:00
stats.c
stats.h
trace.c
trace.h
vfs.c nfsd: fh_drop_write in nfsd_unlink 2019-04-24 09:46:35 -04:00
vfs.h nfsd: allow fh_want_write to be called twice 2019-04-24 09:46:35 -04:00
xdr.h
xdr3.h
xdr4.h
xdr4cb.h