All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ewan Milne <emilne@redhat.com>
To: dgilbert@interlog.com
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH] [SCSI] scsi_debug: Do not respond to INQUIRY commands with CHECK CONDITION when sense pending
Date: Fri, 15 Feb 2013 09:58:08 -0500	[thread overview]
Message-ID: <1360940288.18372.6.camel@localhost.localdomain> (raw)
In-Reply-To: <511D5B4E.8020606@interlog.com>

On Thu, 2013-02-14 at 16:46 -0500, Douglas Gilbert wrote:
> On 13-02-14 11:36 AM, Ewan D. Milne wrote:
> > From: "Ewan D. Milne" <emilne@redhat.com>
> >
> > According to SPC, INQUIRY commands are not supposed to respond
> > with a CHECK CONDITION due to a pending UNIT ATTENTION.  This
> > was causing failures when re-scanning a scsi_debug target.
> 
> Good pick up. Reference: sam5r12.pdf section 5.14 on
> Unit Attentions. And please add REPORT LUNS to your patch.

Will do, thanks.

-Ewan



  reply	other threads:[~2013-02-15 14:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-14 16:36 [PATCH] [SCSI] Automatic LUN removal Ewan D. Milne
2013-02-14 16:36 ` [PATCH] [SCSI] scsi_debug: Do not respond to INQUIRY commands with CHECK CONDITION when sense pending Ewan D. Milne
2013-02-14 21:46   ` Douglas Gilbert
2013-02-15 14:58     ` Ewan Milne [this message]
2013-02-14 16:36 ` [PATCH] [SCSI] sd: Do not return success from init_sd if DIF mempool allocation fails Ewan D. Milne
2013-04-05 15:02   ` Ewan Milne

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=1360940288.18372.6.camel@localhost.localdomain \
    --to=emilne@redhat.com \
    --cc=dgilbert@interlog.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.