]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commita9601ac5e9160a3f96348ebc5d0751397a501701
tree452728367fb467170a43fc71c62be8f0b6903bef
parent20cf7d4ea4ad7d9830b01ff7444f6ac64a727a23
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