On 14-12-04 11:49 AM, Ewan D. Milne wrote:
From: "Ewan D. Milne" <emi...@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 <emi...@redhat.com>
Acked-by: Douglas Gilbert <dgilb...@interlog.com>
Tested-by: Douglas Gilbert <dgilb...@interlog.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html