scsi_dh_rdac: update 'access_state' field
authorHannes Reinecke <hare@suse.de>
Thu, 3 Mar 2016 06:54:10 +0000 (07:54 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 5 Mar 2016 22:18:28 +0000 (17:18 -0500)
commit1a5dc166cd8843252169f52cb714b324f6d679ef
treeaa7431580ae8c07209a6bee274cbdecd26612fd2
parentcb0a168cb6b8f77097d69872349278a17383c38e
scsi_dh_rdac: update 'access_state' field

Track attached SCSI devices and update the 'access_state' whenever the
path state of the device changes.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/device_handler/scsi_dh_rdac.c