linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: James Smart <James.Smart@Emulex.Com>
To: linux-scsi <linux-scsi@vger.kernel.org>
Subject: [PATCH 0/2] Block I/O while SG reset operation in progress
Date: Fri, 24 Feb 2006 11:52:02 -0500	[thread overview]
Message-ID: <43FF39B2.3090302@emulex.com> (raw)

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



                 reply	other threads:[~2006-02-24 16:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43FF39B2.3090302@emulex.com \
    --to=james.smart@emulex.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).