Re: [PATCH -mm 09/11] call blk_queue_segment_boundary in __scsi_alloc_queue

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: FUJITA Tomonori <tomof@...>
Cc: <akpm@...>, <linux-kernel@...>, <linux-scsi@...>, <James.Bottomley@...>, <fujita.tomonori@...>, Jens Axboe <jens.axboe@...>
Date: Wednesday, October 24, 2007 - 7:39 am

FUJITA Tomonori wrote:

it would be nice to have something more general that's useable in 
drivers/block/sx8.c (for example), something like

	static inline void
	dev_blk_associate(struct device *dev, request_queue *q)
	{
		blk_queue_max_segment_size(q,
					dma_get_max_seg_size(dev));
	}

still, I will ACK the above patch (#9) in case you wish that to become a 
future cleanup, or others dislike this suggestion

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH -mm 0/11] fix iommu sg merging problem, FUJITA Tomonori, (Wed Oct 24, 6:47 am)
Re: [PATCH -mm 0/11] fix iommu sg merging problem, Jens Axboe, (Wed Oct 24, 9:24 am)
Re: [PATCH -mm 0/11] fix iommu sg merging problem, Jeff Garzik, (Wed Oct 24, 7:40 am)
Re: [PATCH -mm 0/11] fix iommu sg merging problem, FUJITA Tomonori, (Wed Oct 24, 10:32 am)
[PATCH -mm 01/11] add device_dma_parameters structure, FUJITA Tomonori, (Wed Oct 24, 6:48 am)
[PATCH -mm 02/11] PCI: add device_dma_parameters support, FUJITA Tomonori, (Wed Oct 24, 6:48 am)
Re: [PATCH -mm 02/11] PCI: add device_dma_parameters support, FUJITA Tomonori, (Wed Oct 24, 9:41 am)
[PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size, FUJITA Tomonori, (Wed Oct 24, 6:48 am)
RE: [PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size, FUJITA Tomonori, (Wed Oct 24, 12:21 pm)
Re: [PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size, FUJITA Tomonori, (Wed Oct 24, 7:35 am)
Re: [PATCH -mm 09/11] call blk_queue_segment_boundary in __s..., Jeff Garzik, (Wed Oct 24, 7:39 am)