diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-07-16 21:55:23 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-07-22 05:46:23 +0200 |
commit | 893a1c97205a3ece0cbb3f571a3b972080f3b4c7 (patch) | |
tree | 9173a99e83a6842a89b07fb7eeb26e816a0c8faa /sound | |
parent | io_uring: add a memory barrier before atomic_read (diff) | |
download | linux-893a1c97205a3ece0cbb3f571a3b972080f3b4c7.tar.xz linux-893a1c97205a3ece0cbb3f571a3b972080f3b4c7.zip |
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 'sound')
0 files changed, 0 insertions, 0 deletions