]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hpsa: add discovery polling for PT RAID devices.
authorScott Teel <scott.teel@pmcs.com>
Fri, 6 May 2016 19:09:59 +0000 (12:09 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 22 May 2016 21:49:45 +0000 (14:49 -0700)
commit5f3013f2d96c6ba93455f65b0d9c3d04dd170308
tree2f0642c4b6bcd4ca06414e06ca16079010b3fc1b
parent42351fe826faa48c4157e25a427008ce1ffd3bee
hpsa: add discovery polling for PT RAID devices.

There are problems with getting configuration change notification
in pass-through RAID environments.  So, activate flag
h->discovery_polling when one of these devices is detected in
update_scsi_devices.

After discovery_polling is set, execute a report luns from
rescan_controller_worker (every 30 seconds).

If the data from report_luns is different than last
time (binary compare), execute a full rescan via update_scsi_devices.

Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Reviewed-by: Justin Lindley <justin.lindley@pmcs.com>
Reviewed-by: Kevin Barnett <kevin.barnett@pmcs.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Orabug: 23064595
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
drivers/scsi/hpsa.c
drivers/scsi/hpsa.h