From: James Bottomley <James.Bottomley@SteelEye.com>
To: Edward Goggin <egoggin@vmware.com>
Cc: linux-scsi@vger.kernel.org, eric.moore@lsi.com
Subject: Re: [PATCH 0/2] : definion, code, and use of new SCSI ML host status DID_COND_REQUEUE
Date: Fri, 02 Feb 2007 16:54:52 -0600 [thread overview]
Message-ID: <1170456892.3380.35.camel@mulgrave.il.steeleye.com> (raw)
In-Reply-To: <1170453887.14264.73.camel@egoggin-devd.eng.vmware.com>
On Fri, 2007-02-02 at 17:04 -0500, Edward Goggin wrote:
> Patch Set Summary:
>
> 1 Define new SCSI ML host status DID_COND_REQUEUE and
> add its handling code to scsi_decide_disposition.
> Scsi_decide_disposition returns ADD_TO_MLQUEUE IFF
> not REQ_FAILFAST.
>
> 2 Return DID_COND_REQUEUE instead of DID_BUS_BUSY host status
> in MPT fusion driver when IOC status is SUCCESS and scsi
> status is busy.
Please, no.
In the first place, as I already said on the previous thread, I don't
think the driver should be interpreting the BUSY return.
Secondly, the original problem was with fibre devices which seemed to
want FAILFAST on BUSY (which looks very bogus to me), but no-one asked
for this behaviour to be preserved. The original bug report:
"When a target device responds with BUSY status, the MPT driver
was
sending DID_OK to the SCSI mid layer, which caused the IO to be
retried indefinitely betweenthe mid layer and the
driver. By changing the driver return status to DID_BUS_BUSY,
the target BUSY status can now flow through the mid layer to an
upper layer Failover driver, whichwill manage the I/O timeout."
is about behaviour which is now fixed (BUSY is retried for the command's
maximum lifetime but no longer).
Thirdly, the VMware issue was that the fibre fix was causing your
implementation to time out too fast.
The solution, then, as I said previously should simply be to pass the
BUSY status up unmodified from the fusion driver.
James
next prev parent reply other threads:[~2007-02-02 22:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-02 22:04 [PATCH 0/2] : definion, code, and use of new SCSI ML host status DID_COND_REQUEUE Edward Goggin
2007-02-02 22:54 ` James Bottomley [this message]
2007-02-02 23:11 ` Edward Goggin
2007-02-02 23:18 ` James Bottomley
2007-02-02 23:33 ` Edward Goggin
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=1170456892.3380.35.camel@mulgrave.il.steeleye.com \
--to=james.bottomley@steeleye.com \
--cc=egoggin@vmware.com \
--cc=eric.moore@lsi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.