]> git.karo-electronics.de Git - linux-beck.git/commit
NFSv4: Revert "Truncating file opens should also sync O_DIRECT writes"
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 14 Jul 2016 16:42:40 +0000 (12:42 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 14 Jul 2016 16:42:40 +0000 (12:42 -0400)
commit8b7d9d09b24f4ef16f7ae34b6d9e59857fda0870
tree405f45e9ee238e153bf901693e63537d7247f795
parent9a773e7c8de2a34ae682624624e95a96b121b6d1
NFSv4: Revert "Truncating file opens should also sync O_DIRECT writes"

We're not holding any locks, so both nfs_wb_all() and inode_dio_wait()
are unenforcible and have livelock potential. Just limit ourselves to
flushing out the data.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4file.c