Trond Myklebust aa5accea40 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>
2015-03-01 23:22:40 -05:00
..
2015-02-18 07:28:37 -08:00
2014-12-08 20:39:29 -05:00
2015-02-18 07:28:37 -08:00
2015-02-03 11:06:34 -08:00
2015-02-03 16:01:27 -05:00
2015-02-03 16:01:27 -05:00
2014-11-25 16:38:32 -05:00
2015-02-18 12:28:50 -08:00
2015-02-11 17:14:54 -08:00
2014-11-25 16:38:32 -05:00
2014-11-25 16:38:32 -05:00
2014-11-25 16:38:32 -05:00
2015-01-30 20:43:30 -05:00
2015-02-11 17:14:54 -08:00
2015-02-10 08:41:23 -05:00