nvme_fc: replace ioabort msleep loop with completion
Subsystems (2)
PATCH 1/1 nvme_fc: replace ioabort msleep loop with completion
From: James Smart <[email protected]>
Per the recommendation by Sagi on:
http://lists.infradead.org/pipermail/linux-nvme/2017-April/009261.html
An extra reference was pointed out. There's no issue with the references, but rather a literal interpretation of what the comment is saying.
Reword the comment to avoid confusion.
--- drivers/nvme/host/fc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/nvme/host/fc.c +4 -4
@@ -2540,10 +2540,10 @@ nvme_fc_delete_ctrl_work(struct work_struct *work)/* * tear down the controller -* This will result in the last reference on the nvme ctrl to -* expire, calling the transport nvme_fc_nvme_ctrl_freed() callback. -* From there, the transport will tear down it's logical queues and -* association. +* After the last reference on the nvme ctrl is removed, +* the transport nvme_fc_nvme_ctrl_freed() callback will be +* invoked. From there, the transport will tear down it's +* logical queues and association. */ nvme_uninit_ctrl (&ctrl->ctrl);
Signature · 1 line
2.9.3
PATCH 1/1 nvme_fc: replace ioabort msleep loop with completion
Quoted 26 lines · On 4/25/2017 3:32 PM, [email protected] wrote:
From: James Smart <jsmart2021 at gmail.com>
Per the recommendation by Sagi on:
http://lists.infradead.org/pipermail/linux-nvme/2017-April/009261.htmlAn extra reference was pointed out. There's no issue with the references, but rather a literal interpretation of what the comment is saying.
Reword the comment to avoid confusion.
Signed-off-by James Smart <james.smart at broadcom.com>--- drivers/nvme/host/fc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)drivers/nvme/host/fc.c +0
-1@@ -2540,10 +2540,10 @@ nvme_fc_delete_ctrl_work(struct work_struct *work)/* * tear down the controller -* This will result in the last reference on the nvme ctrl to
drivers/nvme/host/fc.c nvme_fc_delete_ctrl_work(struct work_struct *work) · line 2549
Quoted 10 lines
drivers/nvme/host/fc.c +4
-3-* expire, calling the transport nvme_fc_nvme_ctrl_freed() callback. -* From there, the transport will tear down it's logical queues and -* association. +* After the last reference on the nvme ctrl is removed, +* the transport nvme_fc_nvme_ctrl_freed() callback will be +* invoked. From there, the transport will tear down it's +* logical queues and association. */ nvme_uninit_ctrl (&ctrl->ctrl);
sorry for noise- will fix title
-- james