Re: [PATCH 0/4] scsi_debug: Unit Attention fixes/enhancements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 14-12-04 11:49 AM, Ewan D. Milne wrote:
From: "Ewan D. Milne" <emilne@xxxxxxxxxx>

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




--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux