]> err.no Git - linux-2.6/commit
NFSv4: Defer inode revalidation when setting up a delegation
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 3 Jul 2007 20:10:55 +0000 (16:10 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Jul 2007 03:40:41 +0000 (23:40 -0400)
commit412c77cee6d6e73fbe1dc3d67f52163efed33fc4
treef7ea21158a76f8b3fd6450ee66dcc053f94b3fbd
parent8383e4602c89857ef926f29ca61ac0a83a614443
NFSv4: Defer inode revalidation when setting up a delegation

Currently we force a synchronous call to __nfs_revalidate_inode() in
nfs_inode_set_delegation(). This not only ensures that we cannot call
nfs_inode_set_delegation from an asynchronous context, but it also slows
down any call to open().

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