Hi Alexis, I was just taking a look at the issue you opened with Red
Hat about this.
It appears to me that the sd driver for all SCSI disks is setting the
max_sectors limit for the queue to the optimal transfer length when
sanely reported. So the SCSI disk driver is limiting to the optimal
length at all times, while the NVMe code is reporting different
optimal and maximum limits to the block layer. The SCSI target code
is just passing the block layer limits through to the initiator, so
when exposing an NVMe namespace as an SCSI disk the smaller optimal
transfer length gets used as a maximum limit on the SCSI initiator.
I'm going to ask around and see if I can't get a better understanding
as to why the sd driver works that way and if optimal transfer length
when reported by SCSI disks are expected to be as small as this NVMe
device is reporting.
I don't think this is an iSCSI specific issue in this case.
- Chris
> --
> You received this message because you are subscribed to the Google Groups "open-iscsi" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
open-iscsi+...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/open-iscsi/1b70c5d5-bb56-4f35-948b-1a2cbde569ban%40googlegroups.com.