From: Douglas Gilbert <dgilbert@interlog.com>
To: "Ewan D. Milne" <emilne@redhat.com>, linux-scsi@vger.kernel.org
Subject: Re: [PATCH 3/4] scsi_debug: Add REPORTED LUNS DATA HAS CHANGED Unit Attention
Date: Sat, 06 Dec 2014 11:28:09 -0500 [thread overview]
Message-ID: <54832E99.6030703@interlog.com> (raw)
In-Reply-To: <1417711768-24167-4-git-send-email-emilne@redhat.com>
On 14-12-04 11:49 AM, Ewan D. Milne wrote:
> From: "Ewan D. Milne" <emilne@redhat.com>
>
> Generate a REPORTED LUNS DATA HAS CHANGED Unit Attention if
> sysfs "max_luns" is used to change the number of scsi_debug LUNs.
> This is only done if scsi_debug_scsi_level is SPC-3 or above.
> Additionally, implement SPC-4 behavior which only generates
> this Unit Attention on the first LUN on the target to receive
> a command after the change. This condition is cleared when
> a REPORT LUNS command is received.
>
> Signed-off-by: Ewan D. Milne <emilne@redhat.com>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Tested-by: Douglas Gilbert <dgilbert@interlog.com>
next prev parent reply other threads:[~2014-12-06 16:28 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 [this message]
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 ` [PATCH 0/4] scsi_debug: Unit Attention fixes/enhancements Douglas Gilbert
2014-12-15 13:45 ` 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=54832E99.6030703@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).