summary refs log tree commit diff
path: root/include/scsi
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2014-06-02 22:56:47 +0900
committerChristoph Hellwig <hch@lst.de>2014-07-17 22:07:30 +0200
commite430cbc8bbd779454516467b2947a97b4003c081 (patch)
treee1433727f4e9787323f16e774219135cb0b43b51 /include/scsi
parent46f69e6a6bbbf3858617c8729e31895846c15a79 (diff)
downloadlinux-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