Skip to content

scsi_debug: Unit Attention fixes/enhancements

Ewan D. Milne linux-scsi 1 version Applied

Status from this message: Thanks, applied patch 1 and 2 to drivers-for-3.19, the rest will go

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4scsi_debug: Fixed missing "break;" in SDEBUG_UA_CAPACITY_CHANGED casedrivers/scsi/scsi_debug.c+1 -01 reply
2/4scsi_debug: Added taking of sdebug_host_list_lock when changing capacitydrivers/scsi/scsi_debug.c+2 -01 reply
3/4scsi_debug: Add REPORTED LUNS DATA HAS CHANGED Unit Attentiondrivers/scsi/scsi_debug.c+55 -11 reply
4/4scsi_debug: Implement WRITE BUFFER commanddrivers/scsi/scsi_debug.c+71 -31 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchDouglas Gilbert
1/4A-b
2/4A-b
3/4A-b T-b
4/4A-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

From: "Ewan D. Milne" <[email protected]>

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(-)
Signature · 1 line
1.7.11.7