summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorGoldwyn Rodrigues2017-06-20 14:05:48 +0200
committerJens Axboe2017-06-20 15:12:03 +0200
commit29a5d29ec181ebdc98a26cedbd76ce9870248892 (patch)
treef844c49eb8f2d04675e387dcef0e03fb9ca508c7 /fs/btrfs/inode.c
parentext4: nowait aio support (diff)
downloadkernel-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