Skip to content

Block I/O while SG reset operation in progress

James Smart linux-scsi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Block I/O while SG reset operation in progress - midlayer portiondrivers/scsi/scsi_error.c include/scsi/scsi_host.h+15 -13 replies
2/2Block I/O while SG reset operation in progress - the lpfc driver portionlpfc.h lpfc_init.c lpfc_scsi.c+0 -220 replies

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] Block I/O while SG reset operation in progress

As promised in a previous thread:
http://marc.theaimsgroup.com/?l=linux-scsi&m=113321277408600&w=2

The midlayer today allows for calls to the eh handlers via sg to occur while i/o continues to be sent to the drive run abated.

This patch ensures that i/o is stopped while an eh handler is being processed. It adds a new flag, set by the async reset callers, which augments the host-in-reset checks and stops i/o. The async reset callers are already synchronized to hold off until the error thread is no longer running.

There are 2 parts to this patch:
- the patch to the midlayer to stop i/o while resetting
- a patch to the lpfc driver which removes the barrier the driver had implemented in the past.

-- james s