On Fri, 2010-02-19 at 18:13 +0530, Ramya Desai wrote: > > In that case, it looks like the helpers in protocol.c do use chaining > > correctly (as long as the driver isn't doing direct dma), but there's a > > clamp on the sg table size in scsiglue.c: > > > > .sg_tablesize = SG_ALL > > > > That would have to be changed to SCSI_MAX_SG_CHAIN_SEGMENTS to enable > > chaining. > > Even after changing .sg_tablesize to SCSI_MAX_SG_CHAIN_SEGMENTS, I am > getting the same results (maximum 512KB of data transfer buffers in > scsi_command). > Is there any thing, that I am missing. Do I need to send any logs to > analyze the problem? Before we get into that, what architecture is this? There are a few, like arm that don't have architecture support for chaining, so they can never go over 128 segments. 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