summaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2015-02-26 23:57:14 +0100
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-03-02 05:23:06 +0100
commit00fb4c9f8421c9aac3947d36ffe8e049b95f7ab1 (patch)
tree22710794d5c32ae8a18f8822741dbd8e13c0e04b /kernel/sysctl.c
parentNFSv4: Add attribute update barriers to delegreturn and pNFS layoutcommit (diff)
downloadlinux-00fb4c9f8421c9aac3947d36ffe8e049b95f7ab1.tar.xz
linux-00fb4c9f8421c9aac3947d36ffe8e049b95f7ab1.zip
NFS: Remove size hack in nfs_inode_attrs_need_update()
Prior to this patch, we used to always OK attribute updates that extended the file size on the assumption that we might be performing writeback. Now that we have attribute barriers to protect the writeback related updates, we should remove this hack, as it can cause truncate() operations to apparently be reverted if/when a readahead or getattr RPC call races with our on-the-wire SETATTR. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Tested-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions