nvme: split out metadata vs non metadata end_io uring_cmd completions
authorJens Axboe <axboe@kernel.dk>
Wed, 21 Sep 2022 14:26:26 +0000 (08:26 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 30 Sep 2022 13:49:11 +0000 (07:49 -0600)
commitc0a7ba77e81b8440d10f38559a5e1d219ff7e87c
tree816d94fb4e388e349cac8df612dd7a8ba215417c
parentab3e1d3bbab9e973aeb4dd4603251578658a47ff
nvme: split out metadata vs non metadata end_io uring_cmd completions

By splitting up the metadata and non-metadata end_io handling, we can
remove any request dependencies on the normal non-metadata IO path. This
is in preparation for enabling the normal IO passthrough path to pass
the ownership of the request back to the block layer.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Anuj Gupta <anuj20.g@samsung.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Co-developed-by: Stefan Roesch <shr@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/ioctl.c