Re: [PATCH v2 6/6] scsi_debug: allow huge transfer length for read/write commands

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "Akinobu" == Akinobu Mita <akinobu.mita@xxxxxxxxx> writes:

Akinobu> Also, this increases sg_tablesize and max_segment_size,
Akinobu> otherwise the maximum transfer length is limited to 64MB.
Akinobu> (sg_tablesize * max_segment_size = 256 * 256KB)

Things are easy for scsi_debug. And since we're not changing defaults
for any of the HBA ASICs I'm OK with it.

But I would like us to be very cautious about going above 0xffff blocks
in general. I have seen several devices that misbehave if you do. Or
garble any blocks beyond 0xffff.

Reviewed-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>

-- 
Martin K. Petersen	Oracle Linux Engineering
--
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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux