]> rtime.felk.cvut.cz Git - linux-imx.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)
commit07b5ce8ef2d87f1914054804720d6facbaa3f4ce
tree9f89c1704d7501d14a3ffd9451f8ee6d4054a3c2
parent43f291cd0754f8f10c2cd701e014936f708dab59
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