]> 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)
commit1a05f6ca7eb8657ece808a43d1433cbd99f992e0
tree8c515f73cb471a2839876228dad497001d6440f0
parentdbd9577822260f234156b2248c5071129487edc0
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