Re: [PATCH 2/2] [SCSI] ufs: calculate read/write xfer len from cdb

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

 



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


[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