Commit eac6f76
committed
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Pull SCSI fix from James Bottomley:
"A single fix for machines with pages > 4k (PPC mostly).
There's a bug in our optimal transfer size code where we don't account
for pages > 4k and can set the transfer size to be less than the page
size causing nasty failures"
* tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
sd: Reject optimal transfer length smaller than page size1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2885 | 2885 | | |
2886 | 2886 | | |
2887 | 2887 | | |
2888 | | - | |
| 2888 | + | |
| 2889 | + | |
2889 | 2890 | | |
2890 | | - | |
2891 | | - | |
| 2891 | + | |
| 2892 | + | |
| 2893 | + | |
| 2894 | + | |
2892 | 2895 | | |
2893 | 2896 | | |
2894 | 2897 | | |
| |||
0 commit comments