diff options
author | Goldwyn Rodrigues | 2017-06-20 14:05:48 +0200 |
---|---|---|
committer | Jens Axboe | 2017-06-20 15:12:03 +0200 |
commit | 29a5d29ec181ebdc98a26cedbd76ce9870248892 (patch) | |
tree | f844c49eb8f2d04675e387dcef0e03fb9ca508c7 /fs/btrfs/inode.c | |
parent | ext4: nowait aio support (diff) | |
download | kernel-qcow2-linux-29a5d29ec181ebdc98a26cedbd76ce9870248892.tar.gz kernel-qcow2-linux-29a5d29ec181ebdc98a26cedbd76ce9870248892.tar.xz kernel-qcow2-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 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions