Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] nvme-fc: io termination cleanup
@ 2018-02-06 14:48 James Smart
  2018-02-06 14:48 ` [PATCH 1/2] nvme_fc: correct abort race condition on resets James Smart
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: James Smart @ 2018-02-06 14:48 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-02-12 16:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-06 14:48 [PATCH 0/2] nvme-fc: io termination cleanup James Smart
2018-02-06 14:48 ` [PATCH 1/2] nvme_fc: correct abort race condition on resets James Smart
2018-02-06 15:04   ` Johannes Thumshirn
2018-02-06 14:48 ` [PATCH 2/2] nvme_fc: cleanup io completion James Smart
2018-02-06 15:25   ` Johannes Thumshirn
2018-02-11  8:48 ` [PATCH 0/2] nvme-fc: io termination cleanup Sagi Grimberg
2018-02-12 16:28   ` James Smart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox