twx-linux/include/linux/nfsd
NeilBrown eab7e2e647 [PATCH] knfsd: Break the hard linkage from svc_expkey to svc_export
Current svc_expkey holds a pointer to the svc_export structure, so updates to
that structure have to be in-place, which is a wart on the whole cache
infrastruct.  So we break that linkage and just do a second lookup.

If this became a performance issue, it would be possible to put a direct link
back in which was only used conditionally.  i.e.  when an object is replaced
in the cache, we set a flag in the old object.  When dereferencing the link
from svc_expkey, if the flag is set, we drop the reference and do a fresh
lookup.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-27 08:44:41 -08:00
..
auth.h
cache.h
const.h
debug.h
export.h [PATCH] knfsd: Break the hard linkage from svc_expkey to svc_export 2006-03-27 08:44:41 -08:00
interface.h
nfsd.h [PATCH] nfsd: check error status from nfsd_sync_dir 2006-01-18 19:20:24 -08:00
nfsfh.h [PATCH] mutex subsystem, semaphore to mutex: VFS, ->i_sem 2006-01-09 15:59:24 -08:00
state.h
stats.h
syscall.h
xdr3.h [PATCH] knfsd: check error status from vfs_getattr and i_op->fsync 2006-01-06 08:33:59 -08:00
xdr4.h [PATCH] nfsd4: rename lk_stateowner 2006-01-18 19:20:24 -08:00
xdr.h [PATCH] knfsd: check error status from vfs_getattr and i_op->fsync 2006-01-06 08:33:59 -08:00