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)
commita08a8cd375db9769588257e7782f6b6b68561b88
treed8546485f16b6ffc2c1d15a2009d384fc3f488ef
parentf5062003465c20cfe584d9129a463322ad5cf4ea
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