]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: hpsa: update discovery polling
authorBader Ali Saleh <bader.alisaleh@microsemi.com>
Fri, 20 Oct 2017 21:51:32 +0000 (16:51 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 25 Oct 2017 08:55:18 +0000 (04:55 -0400)
commitf03545bdb602444f9fcad06d03b1894a29d11ae0
treeaf71cfb020f8099f5d1a3f1c4faa8a0540b04c69
parent97637d924ad8205223b78c88299afc637937c429
scsi: hpsa: update discovery polling

Correct a corner case where newly created volumes are not detected
automatically on an external RAID controller that has no configured
volumes during initial device discovery.

The fix is to set the discovery_polling flag when an external RAID
controller is detected. This causes a device rescan every 20-30 seconds,
so that newly created volumes will be detected automatically.

Reviewed-by: Scott Benesh <scott.benesh@microsemi.com>
Reviewed-by: Scott Teel <scott.teel@microsemi.com>
Reviewed-by: Kevin Barnett <kevin.barnett@microsemi.com>
Signed-off-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hpsa.c
drivers/scsi/hpsa_cmd.h