summaryrefslogtreecommitdiffstats
path: root/block/partition-generic.c
diff options
context:
space:
mode:
authorJens Axboe2019-07-16 21:55:23 +0200
committerJens Axboe2019-07-22 05:46:23 +0200
commit893a1c97205a3ece0cbb3f571a3b972080f3b4c7 (patch)
tree9173a99e83a6842a89b07fb7eeb26e816a0c8faa /block/partition-generic.c
parentio_uring: add a memory barrier before atomic_read (diff)
downloadkernel-qcow2-linux-893a1c97205a3ece0cbb3f571a3b972080f3b4c7.tar.gz
kernel-qcow2-linux-893a1c97205a3ece0cbb3f571a3b972080f3b4c7.tar.xz
kernel-qcow2-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 'block/partition-generic.c')
0 files changed, 0 insertions, 0 deletions