]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: Don't abort scsi_scan due to unexpected response
authorJohn Sobecki <john.sobecki@oracle.com>
Tue, 7 Nov 2017 23:27:30 +0000 (16:27 -0700)
committerDhaval Giani <dhaval.giani@oracle.com>
Wed, 15 Nov 2017 06:13:01 +0000 (01:13 -0500)
commit2736f9985d9c756e658ba4045feb716ce85dd721
tree4e2d92514741c0dc008d361d5824ddad46dd9b50
parent68463e646e914cea1aeafc38fdd5673a442674fd
scsi: Don't abort scsi_scan due to unexpected response

    Orabug: 27072286

    During a scan for new LUNs, if an array misconfiguration results in
    an error (non-configured LUNs exist in the middle), this terminates the
    scsi scan:

     sd 12:0:0:0: Unexpected response from lun 1 while scanning, scan aborted

    This patch allows the scsi scan to continue, and prints this warning:

     sd 12:0:0:0: Unexpected response from lun 1 while scanning,
                   ignoring device

    Related bugs: 1827107017500570

Signed-off-by: John Sobecki <john.sobecki@oracle.com>
Reviewed-by: Srinivas Eeda <srinivas.eeda@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/scsi/scsi_scan.c