]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: use blk_execute_rq() for passthrough commands
authorKeith Busch <kbusch@kernel.org>
Thu, 10 Jun 2021 21:44:35 +0000 (14:44 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 30 Jun 2021 21:35:38 +0000 (15:35 -0600)
commitbe42a33b9252f0b3857cadb896e430ee17cccad4
tree1c078dc318f0cdbae7d55b9b0a46c7adc6d4b0ad
parentc01b5a814e7b28e327883838bad159194bdd68e8
nvme: use blk_execute_rq() for passthrough commands

The generic blk_execute_rq() knows how to handle polled completions. Use
that instead of implementing an nvme specific handler.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Link: https://lore.kernel.org/r/20210610214437.641245-3-kbusch@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c
drivers/nvme/host/fabrics.c
drivers/nvme/host/fabrics.h
drivers/nvme/host/fc.c
drivers/nvme/host/nvme.h
drivers/nvme/host/rdma.c
drivers/nvme/host/tcp.c
drivers/nvme/target/loop.c