block: allow end_io based requests in the completion batch handling
authorJens Axboe <axboe@kernel.dk>
Wed, 21 Sep 2022 14:24:16 +0000 (08:24 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 30 Sep 2022 13:49:11 +0000 (07:49 -0600)
commitab3e1d3bbab9e973aeb4dd4603251578658a47ff
treecc5a5b81f354800fbf19c280cd966f54eab13137
parentde671d6116b5210097cd6fbb877bac92536f265b
block: allow end_io based requests in the completion batch handling

With end_io handlers now being able to potentially pass ownership of
the request upon completion, we can allow requests with end_io handlers
in the batch completion handling.

Reviewed-by: Anuj Gupta <anuj20.g@samsung.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Co-developed-by: Stefan Roesch <shr@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
include/linux/blk-mq.h