]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit4e1881840933587f42e3ad3788f2c392d19827a6
treeaf71cfb020f8099f5d1a3f1c4faa8a0540b04c69
parentb9b08cade0a6a523c185c5e371f05df63c623c34
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