]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Separate metadata and page cache revalidation mechanisms
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 25 May 2006 05:40:59 +0000 (01:40 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 9 Jun 2006 13:34:09 +0000 (09:34 -0400)
commit80d8675aaa43a98c49611f617e545683563db1f9
treeb17effcaf70ed67f61b1ec2ed2dea1ea2f884d60
parentbedc855550948bdc6be60c80236d3a1746c2dfd8
NFS: Separate metadata and page cache revalidation mechanisms

Separate out the function of revalidating the inode metadata, and
revalidating the mapping. The former may be called by lookup(),
and only really needs to check that permissions, ctime, etc haven't changed
whereas the latter needs only done when we want to read data from the page
cache, and may need to sync and then invalidate the mapping.

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