]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Add attribute update barriers to NFS writebacks
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 26 Feb 2015 22:36:09 +0000 (17:36 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 2 Mar 2015 04:23:06 +0000 (23:23 -0500)
commitd187d362c11c1531ad14777b7376d5ea1bc1bf25
treed8546485f16b6ffc2c1d15a2009d384fc3f488ef
parent885eb653610b4311b444ff30e7471bb9f64aeb92
NFS: Add attribute update barriers to NFS writebacks

Ensure that other operations that race with our write RPC calls
cannot revert the file size updates that were made on the server.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Tested-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfs/inode.c
fs/nfs/internal.h
fs/nfs/nfs3proc.c
fs/nfs/nfs4proc.c
fs/nfs/proc.c
fs/nfs/write.c
include/linux/nfs_fs.h