commit | 8b7d9d09b24f4ef16f7ae34b6d9e59857fda0870 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Thu Jul 14 12:42:40 2016 -0400 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Thu Jul 14 12:42:40 2016 -0400 |
tree | 405f45e9ee238e153bf901693e63537d7247f795 | |
parent | 9a773e7c8de2a34ae682624624e95a96b121b6d1 [diff] |
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>