]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Make nfs_readdir revalidate less often
authorScott Mayhew <smayhew@redhat.com>
Fri, 5 Jul 2013 21:49:31 +0000 (17:49 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 9 Jul 2013 21:17:07 +0000 (17:17 -0400)
commit831368f54a42e199f4748c8fae8e9393fbe70dc2
tree9f89c1704d7501d14a3ffd9451f8ee6d4054a3c2
parent598d8ff9716d71ca5634eb1b31442a6a3c284d76
NFS: Make nfs_readdir revalidate less often

Make nfs_readdir revalidate only when we're at the beginning of the directory or
if the cached attributes have expired.

Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/dir.c