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