NFS: Add a new ACCESS rpc call cache to the linux nfs client
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 25 Jul 2006 15:28:18 +0000 (11:28 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 23 Sep 2006 03:24:28 +0000 (23:24 -0400)
commit1c3c07e9f6cc50dab2aeb8051325e317d4f6c70e
tree96bbc2a304e9a0e831daf589d1662c6129303796
parent3eeab61aa3ddd3c0bedb7449ada1599de22fdb5a
NFS: Add a new ACCESS rpc call cache to the linux nfs client

The current access cache only allows one entry at a time to be cached for each
inode. Add a per-inode red-black tree in order to allow more than one to
be cached at a time.

Should significantly cut down the time spent in path traversal for shared
directories such as ${PATH}, /usr/share, etc.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/dir.c
fs/nfs/inode.c
include/linux/nfs_fs.h