diff options
author | Jeffle Xu <jefflexu@linux.alibaba.com> | 2020-10-19 16:59:42 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-19 07:32:36 -0600 |
commit | 9ba0d0c81284f4ec0b24529bdba2fc68b9d6a09a (patch) | |
tree | 0e3852adfa378d06319c0e1c192016bb7cbe95aa /mm | |
parent | 324bcf54c449c7b5b7024c9fa4549fbaaae1935d (diff) |
io_uring: use blk_queue_nowait() to check if NOWAIT supported
commit 021a24460dc2 ("block: add QUEUE_FLAG_NOWAIT") adds a new helper
function blk_queue_nowait() to check if the bdev supports handling of
REQ_NOWAIT or not. Since then bio-based dm device can also support
REQ_NOWAIT, and currently only dm-linear supports that since
commit 6abc49468eea ("dm: add support for REQ_NOWAIT and enable it for
linear target").
Signed-off-by: Jeffle Xu <jefflexu@linux.alibaba.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions