Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sd: Optimal I/O size is in bytes, not sectors
Commit ca369d5 ("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 <[email protected]> Reported-by: Christian Borntraeger <[email protected]> Tested-by: Christian Borntraeger <[email protected]> Fixes: ca369d5 Cc: [email protected] # 4.4+ Reviewed-by: James E.J. Bottomley <[email protected]> Reviewed-by: Ewan D. Milne <[email protected]> Reviewed-by: Matthew R. Ochs <[email protected]>
- Loading branch information