summaryrefslogtreecommitdiff
path: root/fs/nfs/super.c
diff options
context:
space:
mode:
authorOlga Kornievskaia <kolga@netapp.com>2020-09-15 00:05:08 +0300
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2020-09-24 17:42:49 +0300
commit76bd5c016ef49683d626a48748ef1764aaf8ba63 (patch)
tree4d11a7680707d7123a8498986d820c01c940dba4 /fs/nfs/super.c
parent9f2664512711788e4e1d06f25a925eb7ac681582 (diff)
downloadlinux-76bd5c016ef49683d626a48748ef1764aaf8ba63.tar.xz
NFSv4: make cache consistency bitmask dynamic
Client uses static bitmask for GETATTR on CLOSE/WRITE/DELEGRETURN and ignores the fact that it might have some attributes marked invalid in its cache. Compared to v3 where all attributes are retrieved in postop attributes, v4's cache is frequently out of sync and leads to standalone GETATTRs being sent to the server. Instead, in addition to the minimum cache consistency attributes also check cache_validity and adjust the GETATTR request accordingly. Signed-off-by: Olga Kornievskaia <kolga@netapp.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/super.c')
0 files changed, 0 insertions, 0 deletions