On Wed, Feb 28, 2018 at 09:45:51AM -0800, Christoph Hellwig wrote: > There is no reason to take the ilock exclusively at the start of > xfs_file_iomap_begin for direct I/O, given that it will be demoted > just before calling xfs_iomap_write_direct anyway. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> Seems to work fine, and reverts us back to the per-iomap behaviour. Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx> -- Dave Chinner david@xxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html