nvme: don't poll the CQ after CQ is deleted
Change-Id: I7985907298ca714df82426f240c8b32b0139be6f Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/449518 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
bdb1d5713f
commit
851829c4ea
@ -1704,9 +1704,6 @@ nvme_pcie_ctrlr_delete_io_qpair(struct spdk_nvme_ctrlr *ctrlr, struct spdk_nvme_
|
|||||||
|
|
||||||
free:
|
free:
|
||||||
if (qpair->no_deletion_notification_needed == 0) {
|
if (qpair->no_deletion_notification_needed == 0) {
|
||||||
/* Complete any I/O in the completion queue */
|
|
||||||
nvme_pcie_qpair_process_completions(qpair, 0);
|
|
||||||
|
|
||||||
/* Abort the rest of the I/O */
|
/* Abort the rest of the I/O */
|
||||||
nvme_pcie_qpair_abort_trackers(qpair, 1);
|
nvme_pcie_qpair_abort_trackers(qpair, 1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user