]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] relax scsi dma alignment
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Tue, 1 Jan 2008 16:00:10 +0000 (10:00 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jan 2008 00:29:22 +0000 (18:29 -0600)
commit465ff3185e0cb76d46137335a4d21d0d9d3ac8a2
tree171068cd7d99600cd094c2eb72bac712649fd9eb
parent11c3e689f1c3a73e3af7b0ea767b1b0626da8033
[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>
drivers/ata/libata-scsi.c
drivers/firewire/fw-sbp2.c
drivers/ieee1394/sbp2.c
drivers/scsi/scsi_lib.c
drivers/usb/storage/scsiglue.c