block: change request end_io handler to pass back a return value
authorJens Axboe <axboe@kernel.dk>
Wed, 21 Sep 2022 21:19:54 +0000 (15:19 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 30 Sep 2022 13:49:09 +0000 (07:49 -0600)
commitde671d6116b5210097cd6fbb877bac92536f265b
treec230b310a4475736c46dd83cb8207acd7dc90427
parent4b6a5d9cea911424e84107df8c4eb8317938d2cd
block: change request end_io handler to pass back a return value

Everything is just converted to returning RQ_END_IO_NONE, and there
should be no functional changes with this patch.

In preparation for allowing the end_io handler to pass ownership back
to the block layer, rather than retain ownership of the request.

Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
13 files changed:
block/blk-flush.c
block/blk-mq.c
drivers/md/dm-rq.c
drivers/nvme/host/core.c
drivers/nvme/host/ioctl.c
drivers/nvme/host/pci.c
drivers/nvme/target/passthru.c
drivers/scsi/scsi_error.c
drivers/scsi/sg.c
drivers/scsi/st.c
drivers/target/target_core_pscsi.c
drivers/ufs/core/ufshpb.c
include/linux/blk-mq.h