1
0
Fork 0
alistair23-linux/drivers/nvme/target
Ming Lei 622b8b6893 nvme: wait until all completed request's complete fn is called
When aborting in-flight request for recovering controller, we have
to make sure that queue's complete function is called on completed
request before moving on. Otherwise, for example, the warning of
WARN_ON_ONCE(qp->mrs_used > 0) in ib_destroy_qp_user() may be
triggered on nvme-rdma.

Fix this issue by using blk_mq_tagset_wait_completed_request.

Cc: Max Gurtovoy <maxg@mellanox.com>
Cc: Sagi Grimberg <sagi@grimberg.me>
Cc: Keith Busch <keith.busch@intel.com>
Cc: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-08-04 21:41:29 -06:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile nvmet: introduce target-side trace 2019-06-21 11:15:46 +02:00
admin-cmd.c nvmet: export I/O characteristics attributes in Identify 2019-07-09 14:15:37 -07:00
configfs.c nvmet: print a hint while rejecting NSID 0 or 0xffffffff 2019-07-09 14:18:09 -07:00
core.c nvmet: introduce target-side trace 2019-06-21 11:15:46 +02:00
discovery.c nvmet: add transport discovery change op 2019-06-21 11:08:37 +02:00
fabrics-cmd.c nvme: introduce nvme_is_fabrics to check fabrics cmd 2019-06-21 11:08:38 +02:00
fc.c nvme: introduce nvme_is_fabrics to check fabrics cmd 2019-06-21 11:08:38 +02:00
fcloop.c nvme-fcloop: resolve warnings on RCU usage and sleep warnings 2019-07-09 13:16:09 -07:00
io-cmd-bdev.c nvmet: export I/O characteristics attributes in Identify 2019-07-09 14:15:37 -07:00
io-cmd-file.c nvmet-file: clamp-down file namespace lba_shift 2019-04-25 16:51:19 +02:00
loop.c nvme: wait until all completed request's complete fn is called 2019-08-04 21:41:29 -06:00
nvmet.h nvmet: export I/O characteristics attributes in Identify 2019-07-09 14:15:37 -07:00
rdma.c nvmet: rename nvme_completion instances from rsp to cqe 2019-04-25 16:41:26 +02:00
tcp.c nvmet-tcp: don't fail maxr2t greater than 1 2019-04-25 16:51:19 +02:00
trace.c nvme-trace: fix spelling mistake "spcecific" -> "specific" 2019-07-09 13:44:45 -07:00
trace.h nvmet: introduce target-side trace 2019-06-21 11:15:46 +02:00