OSDN Git Service

NFS: Don't redirty the attribute cache in nfs_wcc_update_inode()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 20 Mar 2018 20:53:29 +0000 (16:53 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 10 Apr 2018 20:06:22 +0000 (16:06 -0400)
commit783b194c6ee14aba491ea7e97fb5109dcbd77720
tree1f313a5bc754c913359846c3079febd7ce7a5cb1
parent8619ddd07b8608bb0e1c0b83406e006cbc5009cf
NFS: Don't redirty the attribute cache in nfs_wcc_update_inode()

If we received weak cache consistency data from the server, then those
attributes are up to date, and there is no reason to mark them as
dirty in the attribute cache.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/inode.c