Goldwyn Rodrigues 29a5d29ec1 xfs: nowait aio support
If IOCB_NOWAIT is set, bail if the i_rwsem is not lockable
immediately.

IF IOMAP_NOWAIT is set, return EAGAIN in xfs_file_iomap_begin
if it needs allocation either due to file extension, writing to a hole,
or COW or waiting for other DIOs to finish.

Return -EAGAIN if we don't have extent list in memory.

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2017-06-20 07:12:03 -06:00
..
2017-05-05 15:24:52 -04:00
2017-03-28 16:16:52 +02:00
2017-05-12 15:57:15 -07:00
2017-06-09 09:27:32 -06:00
2017-06-20 07:12:03 -06:00
2017-06-09 09:27:32 -06:00
2017-06-12 08:30:13 -06:00
2017-06-09 09:27:32 -06:00
2017-05-05 13:36:10 -07:00
2017-05-30 12:38:59 -07:00
2017-06-20 07:12:03 -06:00
2017-06-09 09:27:32 -06:00
2017-04-17 12:52:27 -04:00
2017-06-20 07:12:03 -06:00
2016-12-14 23:48:11 -05:00
2017-06-09 09:27:32 -06:00
2017-05-08 17:15:12 -07:00
2017-06-09 16:28:01 -04:00