On Tue, 15 Apr 2008 09:08:23 -0400 James Smart <James.Smart@xxxxxxxxxx> wrote: > Boaz Harrosh wrote: > > Let through up to the largest command of 260 defined by the scsi standard. > > iscsi core supports this already. Now that the scsi-ml supports it we can > > start using large commands. > > Just to double-check: > if we use sg_io to pass through requests from user-land, which are addressed to > drivers or transports, and which may not be a SCSI command but rather just something > utilizing the sg_io infrastructure for management or pass-thru, are we limited to > 260 bytes for request/cmd payload ? With SG_IO (block, sg.c, and bsg), the command length is still limited to 16 bytes (BLK_MAX_CDB). We will remove the limit in bsg shortly. As you know, bsg supports bidi data transfer and there is no limit on the length of request and response payload. SAS management protocol uses request and response payload for data transfer. It doesn't use the command area (that is used for SCSI command). -- 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