[PATCH 07/12] xfs: fix locking for DAX writes

2016-09-16 Thread Christoph Hellwig
So far DAX writes inherited the locking from direct I/O writes, but the direct I/O model of using shared locks for writes is actually wrong for DAX. For direct I/O we're out of any standards and don't have to provide the Posix required exclusion between writers, but for DAX which gets transparentl

[PATCH 07/12] xfs: fix locking for DAX writes

2016-09-14 Thread Christoph Hellwig
So far DAX writes inherited the locking from direct I/O writes, but the direct I/O model of using shared locks for writes is actually wrong for DAX. For direct I/O we're out of any standards and don't have to provide the Posix required exclusion between writers, but for DAX which gets transparentl