linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Block I/O while SG reset operation in progress
@ 2006-02-24 16:52 James Smart
  0 siblings, 0 replies; only message in thread
From: James Smart @ 2006-02-24 16:52 UTC (permalink / raw)
  To: linux-scsi

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-24 16:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-24 16:52 [PATCH 0/2] Block I/O while SG reset operation in progress James Smart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).