Skip to content

nvme-fc: io termination cleanup

James Smart linux-nvme 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nvme_fc: correct abort race condition on resetsdrivers/nvme/host/fc.c+26 -721 reply
2/2nvme_fc: cleanup io completiondrivers/nvme/host/fc.c+12 -511 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.13.1