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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeff Garzik
Date: Wednesday, October 24, 2007 - 4: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, 3:47 am)
[PATCH -mm 01/11] add device_dma_parameters structure, FUJITA Tomonori, (Wed Oct 24, 3:48 am)
[PATCH -mm 02/11] PCI: add device_dma_parameters support, FUJITA Tomonori, (Wed Oct 24, 3:48 am)
[PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size, FUJITA Tomonori, (Wed Oct 24, 3:48 am)
Re: [PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size, FUJITA Tomonori, (Wed Oct 24, 4:35 am)
Re: [PATCH -mm 09/11] call blk_queue_segment_boundary in _ ..., Jeff Garzik, (Wed Oct 24, 4:39 am)
Re: [PATCH -mm 0/11] fix iommu sg merging problem, Jeff Garzik, (Wed Oct 24, 4:40 am)
Re: [PATCH -mm 0/11] fix iommu sg merging problem, Jens Axboe, (Wed Oct 24, 6:24 am)
Re: [PATCH -mm 02/11] PCI: add device_dma_parameters support, FUJITA Tomonori, (Wed Oct 24, 6:41 am)
Re: [PATCH -mm 0/11] fix iommu sg merging problem, FUJITA Tomonori, (Wed Oct 24, 7:32 am)
Re: [PATCH -mm 09/11] call blk_queue_segment_boundary in ..., FUJITA Tomonori, (Wed Oct 24, 7:36 am)
RE: [PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size, FUJITA Tomonori, (Wed Oct 24, 9:21 am)