diff options
author | 2014-12-04 11:49:27 -0500 | |
---|---|---|
committer | 2015-01-09 15:44:20 +0100 | |
commit | 19c8ead7252bb66147011a361bb0c74dcb18e213 (patch) | |
tree | 0b82d9cfa615e9c73e0733ca5d2f3fad3db21e33 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ses: Add power_status to SES device slot (diff) | |
download | wireguard-linux-19c8ead7252bb66147011a361bb0c74dcb18e213.tar.xz wireguard-linux-19c8ead7252bb66147011a361bb0c74dcb18e213.zip |
scsi_debug: Add REPORTED LUNS DATA HAS CHANGED Unit Attention
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>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions