scsi: hpsa: rescan later if reset in progress
authorDon Brace <don.brace@microsemi.com>
Thu, 4 May 2017 22:51:10 +0000 (17:51 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Jun 2017 00:48:01 +0000 (20:48 -0400)
- schedule another scan.
- mark current scan as completed.

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

index 2990897b40e0e09bde14e8e80bfb36368fe70550..53a4f34e73c20aedda402ab1fceb42b67bdce7dc 100644 (file)
@@ -5620,6 +5620,7 @@ static void hpsa_scan_start(struct Scsi_Host *sh)
         */
        if (h->reset_in_progress) {
                h->drv_req_rescan = 1;
+               hpsa_scan_complete(h);
                return;
        }