diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2014-06-02 22:56:47 +0900 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-07-17 22:07:30 +0200 |
commit | e430cbc8bbd779454516467b2947a97b4003c081 (patch) | |
tree | e1433727f4e9787323f16e774219135cb0b43b51 /include/scsi | |
parent | 46f69e6a6bbbf3858617c8729e31895846c15a79 (diff) | |
download | linux-e430cbc8bbd779454516467b2947a97b4003c081.tar.gz |
sd: use READ_16 or WRITE_16 when transfer length is greater than 0xffff
This change makes the scsi disk driver handle the requests whose transfer length is greater than 0xffff with READ_16 or WRITE_16. However, this is a preparation for extending the data type of max_sectors in struct Scsi_Host and scsi_host_template. So, it is impossible to happen this condition for now, because SCSI low-level drivers can not specify max_sectors greater than 0xffff due to the data type limitation. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions