]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit908851a4bc98c6965a4d4d4a6ca3924045c0540d
tree8c515f73cb471a2839876228dad497001d6440f0
parent5817fd2b0bd07512ebd2594e57e8436460281801
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