]> git.baikalelectronics.ru Git - kernel.git/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)
commit0945a3f697e245a6bb80441b321828a5f5e30c03
tree0f1d109897b13c9d0f86a3ba5af088596f728cdb
parent967611d74b75186b799bda6280968f9e992737b5
[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