xfs: allow appending aio writes
authorChristoph Hellwig <hch@infradead.org>
Sun, 9 Feb 2014 23:28:04 +0000 (10:28 +1100)
committerDave Chinner <david@fromorbit.com>
Sun, 9 Feb 2014 23:28:04 +0000 (10:28 +1100)
commit9862f62faba8c279ac07415a6f610041116fbdc0
tree94af488994406dc3de4e640fe52e8efb6825bbc2
parentd531d91d69902e55633ed834f531aa0b48d618cc
xfs: allow appending aio writes

XFS can easily support appending aio writes by ensuring we always allocate
blocks as unwritten extents when performing direct I/O writes and only
converting them to written extents at I/O completion.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_aops.c