tmp_suning_uos_patched/fs/nfsd
NeilBrown 3751517731 [PATCH] nfsd4: stop overusing RECLAIM_BAD
A misreading of the spec lead us to convert all errors on open and lock
reclaims to RECLAIM_BAD.  This causes problems--for example, a reboot within
the grace period could lead to reclaims with stale stateid's, and we'd like to
return STALE errors in those cases.

What rfc3530 actually says about RECLAIM_BAD: "The reclaim provided by the
client does not match any of the server's state consistency checks and is
bad." I'm assuming that "state consistency checks" refers to checks for
consistency with the state recorded to stable storage, and that the error
should be reserved for that case.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-07 18:24:08 -07:00
..
auth.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
export.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lockd.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] knfsd: nfsd4: reboot hash 2005-06-24 00:06:33 -07:00
nfs2acl.c [PATCH] NFSD: Add server support for NFSv3 ACLs. 2005-06-22 16:07:23 -04:00
nfs3acl.c [PATCH] NFSD: Add server support for NFSv3 ACLs. 2005-06-22 16:07:23 -04:00
nfs3proc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nfs3xdr.c [PATCH] NFSD: Add server support for NFSv3 ACLs. 2005-06-22 16:07:23 -04:00
nfs4acl.c [PATCH] knfsd: nfsd4: make needlessly global code static 2005-06-24 00:06:33 -07:00
nfs4callback.c [PATCH] knfsd: nfsd4: remove cb_parsed 2005-06-24 00:06:35 -07:00
nfs4idmap.c [PATCH] knfsd: nfsd4: make needlessly global code static 2005-06-24 00:06:33 -07:00
nfs4proc.c [PATCH] nfsd4: ERR_GRACE should bump seqid on open 2005-07-07 18:24:08 -07:00
nfs4recover.c [PATCH] nfsd4: prevent multiple unlinks of recovery directories 2005-07-07 18:24:08 -07:00
nfs4state.c [PATCH] nfsd4: stop overusing RECLAIM_BAD 2005-07-07 18:24:08 -07:00
nfs4xdr.c [PATCH] knfsd: nfsd4: make needlessly global code static 2005-06-24 00:06:33 -07:00
nfscache.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nfsctl.c [PATCH] knfsd: nfsd4 reboot dirname fix 2005-06-24 00:06:36 -07:00
nfsfh.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nfsproc.c [PATCH] NFSD: Add NFS3ERR_NOTSUPP to the nfsd error mapping table 2005-06-22 16:07:21 -04:00
nfssvc.c [PATCH] knfsd: nfsd4: rename nfs4_state_init 2005-06-24 00:06:31 -07:00
nfsxdr.c [PATCH] NFSD: Add server support for NFSv3 ACLs. 2005-06-22 16:07:23 -04:00
stats.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vfs.c [PATCH] nfsd4: fix sync'ing of recovery directory 2005-07-07 18:24:07 -07:00