2012/4/6 Santosh Y <santoshsy@xxxxxxxxx>: > Currently the Expected data transfer length field in > command UPIU is being updated with "transfersize" from > the scsi_cmnd struct. But, if the read/write data > transfer size exceeds the sector size, the "transfersize" > will be truncated to the sector size. Thanks to KOBAYASHI > Yoshitake for pointing it out. > > This patch ensures that the correct read/write data transfer > size is calculated from the "transfer length" available in the > CDB. > > Reported-by: KOBAYASHI Yoshitake <yoshitake.kobayashi@xxxxxxxxxxxxx> > Reviewed-by: Vinayak Holikatti <vinholikatti@xxxxxxxxx> > Signed-off-by: Santosh Y <santoshsy@xxxxxxxxx> Hi Santosh. The specific decription header of this patch is very good. Reviewed-by: Namjae Jeon <linkinjeon@xxxxxxxxx> > --- -- 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