[PATCH 0/2] nvme-fc: io termination cleanup

James Smart jsmart2021 at gmail.com
Tue Feb 6 06:48:28 PST 2018


The patches address io termination issues in nvme-fc:

The first patch addresses a race condition on io termination vs
reset/delete abort paths that allowed an io to complete yet the
association termination counted it and is waiting for the completion.

The second patch addresses cleanup of the code that was synchronizing
io termination between the lldd done path and the blk-mq completion
path. the completion path existed because, at the time, the eh_handler
could return a successful return status, allowing the complete routine
to be called, although the io was still active in the lldd. Since then
the eh_handler has been corrected to reschedule the io timer after
initiating the abort and this condition is no longer true.

James Smart (2):
  nvme_fc: correct abort race condition on resets
  nvme_fc: cleanup io completion

 drivers/nvme/host/fc.c | 143 ++++++++++---------------------------------------
 1 file changed, 29 insertions(+), 114 deletions(-)

-- 
2.13.1




More information about the Linux-nvme mailing list