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>
This commit is contained in:

committed by
Martin K. Petersen

parent
b9b08cade0
commit
4e18818409
@@ -780,6 +780,8 @@ struct bmic_identify_physical_device {
|
||||
u8 phys_bay_in_box; /* phys drv bay this drive resides */
|
||||
__le32 rpm; /* Drive rotational speed in rpm */
|
||||
u8 device_type; /* type of drive */
|
||||
#define BMIC_DEVICE_TYPE_CONTROLLER 0x07
|
||||
|
||||
u8 sata_version; /* only valid when drive_type is SATA */
|
||||
__le64 big_total_block_count;
|
||||
__le64 ris_starting_lba;
|
||||
|
Reference in New Issue
Block a user