From: Chandra Seetharaman <sekharan@us.ibm.com>
To: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: "linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
"dm-devel@redhat.com" <dm-devel@redhat.com>,
"Chauhan, Vijay" <Vijay.Chauhan@lsi.com>
Subject: Re: [PATCH]scsi_dh_rdac: Retry for Quiescence in Progress in rdac device handler
Date: Mon, 26 Jan 2009 13:04:18 -0800 [thread overview]
Message-ID: <1233003858.3759.15.camel@chandra-ubuntu> (raw)
In-Reply-To: <0D1E8821739E724A86F4D16902CE275C13FF9AFFD6@inbmail01.lsi.com>
On Mon, 2009-01-26 at 21:29 +0530, Chauhan, Vijay wrote:
> During device discovery read capacity fails with 0x068b02 and sets the device size to 0. As a reason any I/O submitted to this path gets killed at sd_prep_fn with BLKPREP_KILL. This patch is to retry for 0x068b02. Please apply.
>
> From: Vijay Chauhan<vijay.chauhan@lsi.com>
>
> This patch adds retry for Quiescence in Progress in rdac device handler.
>
> Signed-off-by: Vijay Chauhan <vijay.chauhan@lsi.com>
Acked-by: Chandra Seetharaman <sekharan@us.ibm.com>
>
> ---
> --- linux-2.6.29-rc2/drivers/scsi/device_handler/scsi_dh_rdac.c.orig 2009-01-26 20:46:05.000000000 +0530
> +++ linux-2.6.29-rc2/drivers/scsi/device_handler/scsi_dh_rdac.c 2009-01-26 20:47:34.000000000 +0530
> @@ -579,6 +579,11 @@ static int rdac_check_sense(struct scsi_
> * Power On, Reset, or Bus Device Reset, just retry.
> */
> return ADD_TO_MLQUEUE;
> + if (sense_hdr->asc == 0x8b && sense_hdr->ascq == 0x02)
> + /*
> + * Quiescence in progress , just retry.
> + */
> + return ADD_TO_MLQUEUE;
> break;
> }
> /* success just means we do not care what scsi-ml does */
> --
next prev parent reply other threads:[~2009-01-26 21:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-26 15:59 [PATCH]scsi_dh_rdac: Retry for Quiescence in Progress in rdac device handler Chauhan, Vijay
2009-01-26 21:04 ` Chandra Seetharaman [this message]
2009-02-10 20:44 ` James Bottomley
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=1233003858.3759.15.camel@chandra-ubuntu \
--to=sekharan@us.ibm.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=Vijay.Chauhan@lsi.com \
--cc=dm-devel@redhat.com \
--cc=linux-scsi@vger.kernel.org \
--cc=sekharan@linux.vnet.ibm.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