linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Douglas Gilbert <dgilbert@interlog.com>
To: "Ewan D. Milne" <emilne@redhat.com>, linux-scsi@vger.kernel.org
Subject: Re: [PATCH] scsi_debug: fix failure to probe with scsi_level=1 or 2 due to NULL devip
Date: Thu, 27 Aug 2015 10:14:20 -0400	[thread overview]
Message-ID: <55DF1B3C.3020607@interlog.com> (raw)
In-Reply-To: <1440532074-28321-1-git-send-email-emilne@redhat.com>

On 15-08-25 03:47 PM, Ewan D. Milne wrote:
> From: "Ewan D. Milne" <emilne@redhat.com>
>
> commit cbf67842c3d9 ("scsi_debug: support scsi-mq, queues and locks")
> added a test for devip == NULL in schedule_resp which returned
> SCSI_MLQUEUE_HOST_BUSY.  Unfortunately, if scsi_level 1 or 2 is specified,
> devip will be NULL for the INQUIRY command for the next LUN above the
> configured value and it will be retried indefinitely with an error message.
> Fix this by returning the command in the same context if no devip exists.
>
> Signed-off-by: Ewan D. Milne <emilne@redhat.com>

Acked-by: Douglas Gilbert <dgilbert@interlog.com>



      reply	other threads:[~2015-08-27 14:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-25 19:47 [PATCH] scsi_debug: fix failure to probe with scsi_level=1 or 2 due to NULL devip Ewan D. Milne
2015-08-27 14:14 ` Douglas Gilbert [this message]

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=55DF1B3C.3020607@interlog.com \
    --to=dgilbert@interlog.com \
    --cc=emilne@redhat.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).