diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-07-16 13:55:23 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-07-21 21:46:23 -0600 |
commit | 893a1c97205a3ece0cbb3f571a3b972080f3b4c7 (patch) | |
tree | 9173a99e83a6842a89b07fb7eeb26e816a0c8faa /block/Kconfig.iosched | |
parent | c0e48f9dea9129aa11bec3ed13803bcc26e96e49 (diff) | |
download | linux-893a1c97205a3ece0cbb3f571a3b972080f3b4c7.tar.bz2 |
blk-mq: allow REQ_NOWAIT to return an error inline
By default, if a caller sets REQ_NOWAIT and we need to block, we'll
return -EAGAIN through the bio->bi_end_io() callback. For some use
cases, this makes it hard to use.
Allow a caller to ask for inline return of errors related to
blocking by also setting REQ_NOWAIT_INLINE.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/Kconfig.iosched')
0 files changed, 0 insertions, 0 deletions