]> Git Repo - linux.git/commit - fs/aio.c
fs: Use RWF_* flags for AIO operations
authorGoldwyn Rodrigues <[email protected]>
Tue, 20 Jun 2017 12:05:42 +0000 (07:05 -0500)
committerJens Axboe <[email protected]>
Tue, 20 Jun 2017 13:12:03 +0000 (07:12 -0600)
commit9830f4be159b29399d107bffb99e0132bc5aedd4
treeda2f9199e0921f78dd4500916215c19ae8914134
parent7fc9e4722435cd8459182c4975f48934f2bb1274
fs: Use RWF_* flags for AIO operations

aio_rw_flags is introduced in struct iocb (using aio_reserved1) which will
carry the RWF_* flags. We cannot use aio_flags because they are not
checked for validity which may break existing applications.

Note, the only place RWF_HIPRI comes in effect is dio_await_one().
All the rest of the locations, aio code return -EIOCBQUEUED before the
checks for RWF_HIPRI.

Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Goldwyn Rodrigues <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
fs/aio.c
include/uapi/linux/aio_abi.h
This page took 0.059515 seconds and 4 git commands to generate.