projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cd53d1
)
nvme-rdma: reuse nvme_delete_ctrl when reconnect attempts expire
author
Sagi Grimberg
<sagi@grimberg.me>
Sun, 29 Oct 2017 12:21:01 +0000
(14:21 +0200)
committer
Christoph Hellwig
<hch@lst.de>
Wed, 1 Nov 2017 15:28:07 +0000
(16:28 +0100)
instead of just queueing delete work
Reported-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/rdma.c
patch
|
blob
|
history
diff --git
a/drivers/nvme/host/rdma.c
b/drivers/nvme/host/rdma.c
index ed6e05018a92259ce4e38ca140564956c50d30ec..03644ecf68d29326ac21917848416576d3566f04 100644
(file)
--- a/
drivers/nvme/host/rdma.c
+++ b/
drivers/nvme/host/rdma.c
@@
-912,7
+912,7
@@
static void nvme_rdma_reconnect_or_remove(struct nvme_rdma_ctrl *ctrl)
ctrl->ctrl.opts->reconnect_delay * HZ);
} else {
dev_info(ctrl->ctrl.device, "Removing controller...\n");
-
queue_work(nvme_wq, &ctrl->ctrl.delete_work
);
+
nvme_delete_ctrl(&ctrl->ctrl
);
}
}