From: FUJITA Tomonori Date: Tue, 5 Feb 2008 06:28:05 +0000 (-0800) Subject: iommu sg merging: call blk_queue_segment_boundary in __scsi_alloc_queue X-Git-Tag: v2.6.25-rc1~1009 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=860ac568e825b623b0b335ca277dd47d1d7fd5d0;p=pandora-kernel.git iommu sg merging: call blk_queue_segment_boundary in __scsi_alloc_queue request_queue and device struct must have the same value of a segment size limit. This patch adds blk_queue_segment_boundary in __scsi_alloc_queue so LLDs don't need to call both blk_queue_segment_boundary and set_dma_max_seg_size. A LLD can change the default value (64KB) can call device_dma_parameters accessors like pci_set_dma_max_seg_size when allocating scsi_host. Signed-off-by: FUJITA Tomonori Acked-by: Jeff Garzik Cc: James Bottomley Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed