remarkable-linux/fs/nfsd
J. Bruce Fields 404ec117be nfsd4: recognize callback channel failure earlier
When the callback channel fails, we inform the client of that by
returning a cb_path_down error the next time it tries to renew its
lease.

If we wait most of a lease period before deciding that a callback has
failed and that the callback channel is down, then we decrease the
chances that the client will find out in time to do anything about it.

So, mark the channel down as soon as we recognize that an rpc has
failed.  However, continue trying to recall delegations anyway, in hopes
it will come back up.  This will prevent more delegations from being
given out, and ensure cb_path_down is returned to renew calls earlier,
while still making the best effort to deliver recalls of existing
delegations.

Also fix a couple comments and remove a dprink that doesn't seem likely
to be useful.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2008-02-01 16:42:06 -05:00
..
auth.c knfsd: clean up EX_RDONLY 2007-07-19 10:04:52 -07:00
auth.h nfsd: minor fs/nfsd/auth.h cleanup 2008-02-01 16:42:05 -05:00
export.c knfsd: allow cache_register to return error on failure 2008-02-01 16:42:05 -05:00
lockd.c knfsd: lockd: nfsd4: use same grace period for lockd and nfsd4 2007-07-17 10:23:07 -07:00
Makefile
nfs2acl.c nfsd: Fix inconsistent assignment 2008-02-01 16:42:01 -05:00
nfs3acl.c knfsd: fix spurious EINVAL errors on first access of new filesystem 2007-11-12 14:28:08 -08:00
nfs3proc.c
nfs3xdr.c nfsd: fix encode_entryplus_baggage() indentation 2008-02-01 16:42:06 -05:00
nfs4acl.c knfsd: nfsd4: fix handling of acl errrors 2007-07-17 10:23:07 -07:00
nfs4callback.c nfsd4: recognize callback channel failure earlier 2008-02-01 16:42:06 -05:00
nfs4idmap.c knfsd: allow cache_register to return error on failure 2008-02-01 16:42:05 -05:00
nfs4proc.c knfsd: demote some printk()s to dprintk()s 2007-10-09 18:31:56 -04:00
nfs4recover.c cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
nfs4state.c nfsd4: recognize callback channel failure earlier 2008-02-01 16:42:06 -05:00
nfs4xdr.c nfsd: Fix handling of negative lengths in read_buf() 2008-02-01 16:42:03 -05:00
nfscache.c nfsd: fail module init on reply cache init failure 2008-02-01 16:42:04 -05:00
nfsctl.c knfsd: allow cache_register to return error on failure 2008-02-01 16:42:05 -05:00
nfsfh.c nfsd: move nfsd/auth.h into fs/nfsd 2008-02-01 16:42:05 -05:00
nfsproc.c knfsd: nfsd4: make readonly access depend on pseudoflavor 2007-07-17 10:23:08 -07:00
nfssvc.c knfsd: move nfsv4 slab creation/destruction to module init/exit 2007-10-09 18:31:56 -04:00
nfsxdr.c nfsd: move nfsd/auth.h into fs/nfsd 2008-02-01 16:42:05 -05:00
stats.c
vfs.c NFSD: Adjust filename length argument of nfsd_lookup 2008-02-01 16:42:03 -05:00