NFSv4: Truncating file opens should also sync O_DIRECT writes
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 25 Mar 2015 21:23:31 +0000 (17:23 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 27 Mar 2015 16:39:37 +0000 (12:39 -0400)
commit9e1681c2e74bdd84bad6f74b47a4d88ad2f433df
tree8c515f73cb471a2839876228dad497001d6440f0
parentd9dabc1a01656868d53a1d08309ca24d922b1376
NFSv4: Truncating file opens should also sync O_DIRECT writes

We don't just want to sync out buffered writes, but also O_DIRECT ones.

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