• J
    [SCSI] scsi_scan: fix report lun problems with CDROM or RBC devices · ddaf6fc8
    James Bottomley 提交于
    Apparently no ATAPI CD/DVD actually supports REPORT LUNS (in spite of
    claiming scsi-3 compliance, where it's mandatory) and worse, some
    crash or flake out on being sent the command.  This may actually be
    due to a conflict between SPC and MMC with MMC not listing REPORT LUNS
    as mandatory.  The same standards conflict exists for RBC as well.
    
    Fix all of this by reversing the blacklists for CDROM and RBC devices
    (i.e. now they have to have the BLIST_REPORTLUNS2 flag set even if the
    inquiry data returns scsi-3 compliance).
    Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
    ddaf6fc8
scsi_scan.c 51.9 KB