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 0/4] scsi_debug: Unit Attention fixes/enhancements
Date: Sat, 06 Dec 2014 11:38:50 -0500	[thread overview]
Message-ID: <5483311A.703@interlog.com> (raw)
In-Reply-To: <1417711768-24167-1-git-send-email-emilne@redhat.com>

On 14-12-04 11:49 AM, Ewan D. Milne wrote:
> From: "Ewan D. Milne" <emilne@redhat.com>
>
> This patch series fixes a couple of problems in the code to generate UAs
> when "virtual_gb" is changed, and adds the generation of a UA when "max_luns"
> is changed.  It also adds the generation of a UA when a WRITE BUFFER
> command is issued.
>
> Patches were generated against jejb for-next branch, with Doug Gilbert's
> earlier patches applied.
>
> Ewan D. Milne (4):
>    scsi_debug: Fixed missing "break;" in SDEBUG_UA_CAPACITY_CHANGED case
>    scsi_debug: Added taking of sdebug_host_list_lock when changing
>      capacity
>    scsi_debug: Add REPORTED LUNS DATA HAS CHANGED Unit Attention
>    scsi_debug: Implement WRITE BUFFER command
>
>   drivers/scsi/scsi_debug.c | 131 ++++++++++++++++++++++++++++++++++++++++++++--
>   1 file changed, 128 insertions(+), 3 deletions(-)

Great work. I have acked and tested each item (i.e. 1 through 4).

I have some other scsi_debug clean ups (e.g. neuter
the host_lock option) but they can wait until the 3.20 series.


BTW I did notice a small regression compared to the existing
"big switch" version of the scsi_debug driver: the VERIFY and the
PREVENT ALLOW MEDIUM REMOVAL commands were accepted (but did
little). Now they are rejected. If that bites anyone, it could
be corrected as a bug fix in 3.19 .

Doug Gilbert





  parent reply	other threads:[~2014-12-06 16:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-04 16:49 [PATCH 0/4] scsi_debug: Unit Attention fixes/enhancements Ewan D. Milne
2014-12-04 16:49 ` [PATCH 1/4] scsi_debug: Fixed missing "break;" in SDEBUG_UA_CAPACITY_CHANGED case Ewan D. Milne
2014-12-06 16:27   ` Douglas Gilbert
2014-12-04 16:49 ` [PATCH 2/4] scsi_debug: Added taking of sdebug_host_list_lock when changing capacity Ewan D. Milne
2014-12-06 16:27   ` Douglas Gilbert
2014-12-04 16:49 ` [PATCH 3/4] scsi_debug: Add REPORTED LUNS DATA HAS CHANGED Unit Attention Ewan D. Milne
2014-12-06 16:28   ` Douglas Gilbert
2014-12-04 16:49 ` [PATCH 4/4] scsi_debug: Implement WRITE BUFFER command Ewan D. Milne
2014-12-06 16:28   ` Douglas Gilbert
2014-12-06 16:38 ` Douglas Gilbert [this message]
2014-12-15 13:45 ` [PATCH 0/4] scsi_debug: Unit Attention fixes/enhancements Christoph Hellwig

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=5483311A.703@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).