On Thu, 2007-02-01 at 04:54 -0500, Jeff Garzik wrote: > Agreed... but that doesn't make it the /right/ thing to do ;-) > > The logic behind the current code, which limits to the maximum size > allowed by an attached device on the port, is mainly to leverage the > SCSI layer as a filter for bad CDB lengths. > > IOW, it's called "being lazy" ;-) But you're requesting code changes in the SCSI layer because of this incorrect usage. max_cdb is supposed to be the *host* limit. The mid layer finds out and respects device limits separately from this. James - 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