scsi: hpsa: limit outstanding rescans
authorDon Brace <don.brace@microsemi.com>
Fri, 10 Mar 2017 20:35:17 +0000 (14:35 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 15 Mar 2017 17:37:10 +0000 (13:37 -0400)
commit87b9e6aa87d9411f1059aa245c0c79976bc557ac
tree3f60cdf9d91ad830cf75f47e5980c3bb7f68dab9
parent85b29008d8af6d94a0723aaa8d93cfb6e041158b
scsi: hpsa: limit outstanding rescans

Avoid rescan storms. No need to queue another if one is pending.

Reviewed-by: Scott Benesh <scott.benesh@microsemi.com>
Reviewed-by: Scott Teel <scott.teel@microsemi.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.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.h