]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Avoid duplicate resets of attribute cache timeouts
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 26 Jun 2021 15:07:59 +0000 (11:07 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 26 Jun 2021 16:13:40 +0000 (12:13 -0400)
commit5cd864b8850342ced57e208ae0b8f3851f31cd79
tree452728367fb467170a43fc71c62be8f0b6903bef
parentd23fe7d3979e3ab54fbfcc0aab27092b8c42de26
NFS: Avoid duplicate resets of attribute cache timeouts

We know that the attributes changed on the server if and only if the
change attribute is different. Otherwise, we're just refreshing our
cache with values that were already known to be stale.

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