]> err.no Git - linux-2.6/commit
[SCSI] block: Introduce new blk_queue_update_dma_alignment interface
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 31 Dec 2007 22:37:00 +0000 (16:37 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jan 2008 00:29:20 +0000 (18:29 -0600)
commit11c3e689f1c3a73e3af7b0ea767b1b0626da8033
tree0f1d109897b13c9d0f86a3ba5af088596f728cdb
parent166a72878f76e911f2d1ce4b2310d4403e94be11
[SCSI] block: Introduce new blk_queue_update_dma_alignment interface

The purpose of this is to allow stacked alignment settings, with the
ultimate queue alignment being set to the largest alignment requirement
in the stack.

The reason for this is so that the SCSI mid-layer can relax the default
alignment requirements (which are basically causing a lot of superfluous
copying to go on in the SG_IO interface) while allowing transports,
devices or HBAs to add stricter limits if they need them.

Acked-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
block/ll_rw_blk.c
include/linux/blkdev.h