From: James Bottomley <James.Bottomley@suse.de>
To: madhu.iyengar@qlogic.com
Cc: giridhar.malavali@qlogic.com, andrew.vasquez@qlogic.com,
linux-scsi@vger.kernel.org
Subject: Re: [PATCH 1/3] qla2xxx: Remove check to return DID_NO_CONNECT when FC device is lost.
Date: Sat, 12 Feb 2011 10:52:13 -0600 [thread overview]
Message-ID: <1297529533.3026.8.camel@mulgrave.site> (raw)
In-Reply-To: <1296256677-11572-2-git-send-email-madhu.iyengar@qlogic.com>
On Fri, 2011-01-28 at 15:17 -0800, madhu.iyengar@qlogic.com wrote:
> From: Andrew Vasquez <andrew.vasquez@qlogic.com>
>
> Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
> Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
> ---
> drivers/scsi/qla2xxx/qla_os.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
> index c194c23..5dc548b 100644
> --- a/drivers/scsi/qla2xxx/qla_os.c
> +++ b/drivers/scsi/qla2xxx/qla_os.c
> @@ -562,7 +562,6 @@ qla2xxx_queuecommand_lck(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *)
> }
> if (atomic_read(&fcport->state) != FCS_ONLINE) {
> if (atomic_read(&fcport->state) == FCS_DEVICE_DEAD ||
> - atomic_read(&fcport->state) == FCS_DEVICE_LOST ||
This looks like you're actually *not* returning DID_NO_CONNECT when the
device is lost ... what are you returning instead, and why is this an
important bug fix?
James
> atomic_read(&base_vha->loop_state) == LOOP_DEAD) {
> cmd->result = DID_NO_CONNECT << 16;
> goto qc24_fail_command;
next prev parent reply other threads:[~2011-02-12 16:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-28 23:17 [PATCH 0/3] qla2xxx: Patches for 2.6.38-rcx madhu.iyengar
2011-01-28 23:17 ` [PATCH 1/3] qla2xxx: Remove check to return DID_NO_CONNECT when FC device is lost madhu.iyengar
2011-02-12 16:52 ` James Bottomley [this message]
2011-02-13 3:20 ` Madhu Iyengar
2011-01-28 23:17 ` [PATCH 2/3] qla2xxx: Change from irq to irqsave with host_lock madhu.iyengar
2011-01-28 23:17 ` [PATCH 3/3] qla2xxx: Update version number to 8.03.06-k0 madhu.iyengar
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=1297529533.3026.8.camel@mulgrave.site \
--to=james.bottomley@suse.de \
--cc=andrew.vasquez@qlogic.com \
--cc=giridhar.malavali@qlogic.com \
--cc=linux-scsi@vger.kernel.org \
--cc=madhu.iyengar@qlogic.com \
/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