scsi_dh_alua: Add new blacklist flag 'BLIST_SYNC_ALUA'
[cascardo/linux.git] / drivers / scsi / scsi_scan.c
index 1f02e84..420239c 100644 (file)
@@ -964,6 +964,9 @@ static int scsi_add_lun(struct scsi_device *sdev, unsigned char *inq_result,
        if (*bflags & BLIST_NO_DIF)
                sdev->no_dif = 1;
 
+       if (*bflags & BLIST_SYNC_ALUA)
+               sdev->synchronous_alua = 1;
+
        sdev->eh_timeout = SCSI_DEFAULT_EH_TIMEOUT;
 
        if (*bflags & BLIST_TRY_VPD_PAGES)