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)
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

diff --cc fs/nfs/inode.c
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc fs/nfs/proc.c
Simple merge
diff --cc fs/nfs/write.c
Simple merge
Simple merge