On 12 August 2016 at 19:56, <tom.ty89@xxxxxxxxx> wrote: > > Also note that ATA_HORKAGE_MAX_SEC_LBA48 is not supposed to work > automatically anyway, even when max_hw_sectors is as high as 65535, > since the effective max_sectors will be set by the SCSI disk driver. > I missed the fact that ATA_HORKAGE_MAX_SEC_LBA48 is only (and should only be) used by a few ATAPI devices, and the SCSI cdrom devices will not touch max_sectors like the SCSI disk driver. Therefore, I guess I should really just use blk_queue_max_hw_sectors() to set both max_hw_sectors and max_sectors for ATAPI devices. Sending a v2. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html