diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2016-01-20 16:01:23 (GMT) |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-01-21 00:51:34 (GMT) |
commit | d0eb20a863ba7dc1d3f4b841639671f134560be2 (patch) | |
tree | 8e51077d4f13bbb5548e8352a4fd64660e90289d /drivers/scsi/hisi_sas | |
parent | c142ce0d3c6b070c248cef4bbe3a0f58cfd61f3f (diff) | |
download | linux-d0eb20a863ba7dc1d3f4b841639671f134560be2.tar.xz |
sd: Optimal I/O size is in bytes, not sectors
Commit ca369d51b3e1 ("block/sd: Fix device-imposed transfer length
limits") accidentally switched optimal I/O size reporting from bytes to
block layer sectors.
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Reported-by: Christian Borntraeger <borntraeger@de.ibm.com>
Tested-by: Christian Borntraeger <borntraeger@de.ibm.com>
Fixes: ca369d51b3e1649be4a72addd6d6a168cfb3f537
Cc: stable@vger.kernel.org # 4.4+
Reviewed-by: James E.J. Bottomley <James.Bottomley@HansenPartnership.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Reviewed-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Diffstat (limited to 'drivers/scsi/hisi_sas')
0 files changed, 0 insertions, 0 deletions