]> git.neil.brown.name Git - history.git/commit
[PATCH] kNFSd: Convert export-table to use new cache code
authorNeil Brown <neilb@cse.unsw.edu.au>
Fri, 11 Oct 2002 12:39:46 +0000 (05:39 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Fri, 11 Oct 2002 12:39:46 +0000 (05:39 -0700)
commit85d183651e2ddd580e8d688879826744467883dd
tree3ffa3c7c10b70e252a4c45eddd55cdfd7255b8c7
parentdf821d2c2d61521b0f8805b7972ed2ff9af8add4
[PATCH] kNFSd: Convert export-table to use new cache code

This introduces two caches, svc_export_cache (nfsd.exports) and
svc_expkey_cache (nfsd.fh).
nfsd.exports maps client+directory  ->  export options.
nfsd.fh maps client + filehandle-fragment -> directory.

A major part of this change is that export entries are now reference counted,
so we have to be careful  to keep those counts correct.
fs/nfsd/export.c
fs/nfsd/nfsfh.c
fs/nfsd/vfs.c
include/linux/nfsd/export.h