scsi: devinfo: Add Microsoft iSCSI target to 1024 sector blacklist
authorRoss Lagerwall <ross.lagerwall@citrix.com>
Mon, 26 Mar 2018 13:56:51 +0000 (14:56 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 10 Apr 2018 02:07:05 +0000 (22:07 -0400)
The Windows Server 2016 iSCSI target doesn't work with the Linux kernel
initiator since the kernel started sending larger requests by default,
nor does it implement the block limits VPD page. Apply the sector limit
workaround for these targets.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Acked-by: KY Srinivasan <kys@microsoft.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_devinfo.c

index e5370d718058e502d17e29d2efa850cce7b57cda..dd107dc4db0e55430d077110c0a08c693689636f 100644 (file)
@@ -202,7 +202,7 @@ static struct {
        {"Medion", "Flash XL  MMC/SD", "2.6D", BLIST_FORCELUN},
        {"MegaRAID", "LD", NULL, BLIST_FORCELUN},
        {"MICROP", "4110", NULL, BLIST_NOTQ},
-       {"MSFT", "Virtual HD", NULL, BLIST_NO_RSOC},
+       {"MSFT", "Virtual HD", NULL, BLIST_MAX_1024 | BLIST_NO_RSOC},
        {"MYLEX", "DACARMRB", "*", BLIST_REPORTLUN2},
        {"nCipher", "Fastness Crypto", NULL, BLIST_FORCELUN},
        {"NAKAMICH", "MJ-4.8S", NULL, BLIST_FORCELUN | BLIST_SINGLELUN},