]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Don't modify the change attribute cached in the inode
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 12 Apr 2021 16:15:50 +0000 (12:15 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 13 Apr 2021 14:04:05 +0000 (10:04 -0400)
commit2437f6c9a63a9662d432106cb4840a57ab666462
tree2bb64ddf7fec852900867bb2a1ebd7390d11dfad
parent25a60e71d5c8f94c25f00e4856dd0982b164f20a
NFSv4: Don't modify the change attribute cached in the inode

When the client is caching data and a write delegation is held, then the
server may send a CB_GETATTR to query the attributes. When this happens,
the client is supposed to bump the change attribute value that it
returns if it holds cached data.
However that process uses a value that is stored in the delegation. We
do not want to bump the change attribute held in the inode.

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