scsi: Add ALUA state change UA handling
Log the ALUA state change unit attention correctly with the message log and emit an event to allow user-space tools to react to it. Signed-off-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Ewan D. Milne <emilne@redhat.com> Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: James Bottomley <JBottomley@Odin.com>
This commit is contained in:
committed by
James Bottomley
parent
e819cdb198
commit
14c3e677df
@@ -57,9 +57,10 @@ enum scsi_device_event {
|
||||
SDEV_EVT_SOFT_THRESHOLD_REACHED_REPORTED, /* 38 07 UA reported */
|
||||
SDEV_EVT_MODE_PARAMETER_CHANGE_REPORTED, /* 2A 01 UA reported */
|
||||
SDEV_EVT_LUN_CHANGE_REPORTED, /* 3F 0E UA reported */
|
||||
SDEV_EVT_ALUA_STATE_CHANGE_REPORTED, /* 2A 06 UA reported */
|
||||
|
||||
SDEV_EVT_FIRST = SDEV_EVT_MEDIA_CHANGE,
|
||||
SDEV_EVT_LAST = SDEV_EVT_LUN_CHANGE_REPORTED,
|
||||
SDEV_EVT_LAST = SDEV_EVT_ALUA_STATE_CHANGE_REPORTED,
|
||||
|
||||
SDEV_EVT_MAXBITS = SDEV_EVT_LAST + 1
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user