scsi: Add ALUA state change UA handling
authorHannes Reinecke <hare@suse.de>
Mon, 6 Jul 2015 11:41:53 +0000 (13:41 +0200)
committerJames Bottomley <JBottomley@Odin.com>
Wed, 26 Aug 2015 14:19:57 +0000 (07:19 -0700)
commit14c3e677df9fa2e4bf87b9de683452fc140934b2
tree7e7f5392ec6e0f53b46027d5af52c046863c2a8a
parente819cdb198319cccf4af4fc12ac4d796109d8c23
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>
drivers/scsi/scsi_error.c
drivers/scsi/scsi_lib.c
include/scsi/scsi_device.h