diff options
author | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2017-06-20 07:05:48 -0500 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-06-20 07:12:03 -0600 |
commit | 29a5d29ec181ebdc98a26cedbd76ce9870248892 (patch) | |
tree | f844c49eb8f2d04675e387dcef0e03fb9ca508c7 /usr | |
parent | 728fbc0e10b7f3ce2ee043b32e3453fd5201c055 (diff) | |
download | blackbird-obmc-linux-29a5d29ec181ebdc98a26cedbd76ce9870248892.tar.gz blackbird-obmc-linux-29a5d29ec181ebdc98a26cedbd76ce9870248892.zip |
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>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions