aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2015-02-27 22:54:19 -0500
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-03-01 23:22:40 -0500
commitaa5accea404b2b92d39c1924cfeb90f6082f6389 (patch)
tree994520d462eaa508313e23750c992e48a0dba08e /include
parentNFSv4: nfs4_open_recover_helper() must set share access (diff)
downloadlinux-dev-aa5accea404b2b92d39c1924cfeb90f6082f6389.tar.xz
linux-dev-aa5accea404b2b92d39c1924cfeb90f6082f6389.zip
NFS: Ensure that buffered writes wait for O_DIRECT writes to complete
The O_DIRECT code will grab the inode->i_mutex and flush out buffered writes, before scheduling a read or a write. However there is no equivalent in the buffered write code to wait for O_DIRECT to complete. Fixes a reported issue in xfstests generic/133, when first performing an O_DIRECT write followed by a buffered write. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Tested-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions