Comment 3 for bug 1729000

Revision history for this message
Alex Tavcar (stfast386) wrote :

This solves a problem for me:

echo 1024 > /sys/block/sdc/queue/max_sectors_kb

Seems this is an old issue they did not resolved for Microsoft ISCSI targets.

https://forum.qnap.com/viewtopic.php?t=108970
https://groups.google.com/forum/m/#!topic/open-iscsi/6bp5FMM8DwI
...

I think kernel ../drivers/scsi/scsi_devinfo.c should be patched with MSFT as a disk HW vendor:

https://github.com/torvalds/linux/blob/master/drivers/scsi/scsi_devinfo.c

something like this:

56: scsi_static_device_list[] __initdata = {
....
     {"QNAP", "iSCSI Storage", NULL, BLIST_MAX_1024},
....
     {"MSFT", "Virtual HD", "10.0", BLIST_MAX_1024},
....
};