diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-01-01 17:00:10 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-01-12 01:29:22 +0100 |
commit | 465ff3185e0cb76d46137335a4d21d0d9d3ac8a2 (patch) | |
tree | 171068cd7d99600cd094c2eb72bac712649fd9eb /drivers/usb/storage/jumpshot.c | |
parent | [SCSI] block: Introduce new blk_queue_update_dma_alignment interface (diff) | |
download | linux-465ff3185e0cb76d46137335a4d21d0d9d3ac8a2.tar.xz linux-465ff3185e0cb76d46137335a4d21d0d9d3ac8a2.zip |
[SCSI] relax scsi dma alignment
This patch relaxes the default SCSI DMA alignment from 512 bytes to 4
bytes. I remember from previous discussions that usb and firewire have
sector size alignment requirements, so I upped their alignments in the
respective slave allocs.
The reason for doing this is so that we don't get such a huge amount of
copy overhead in bio_copy_user() for udev. (basically all inquiries it
issues can now be directly mapped).
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/usb/storage/jumpshot.c')
0 files changed, 0 insertions, 0 deletions