NFS: Cache access checks more aggressively
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 3 Jun 2016 21:07:19 +0000 (17:07 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 15 Jun 2016 20:36:01 +0000 (16:36 -0400)
commit57b691819ee2b095da505b34abdcd3193d0af75c
treefa2649665a6b124bb05283e946ef2f90c1a7dcc3
parent38512aa98a3feb6acd7da8f0ed5dade5b592b426
NFS: Cache access checks more aggressively

If an attribute revalidation fails, then we already know that we'll
zap the access cache. If, OTOH, the inode isn't changing, there should
be no need to eject access calls just because they are old.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/dir.c