Re: [PATCH 2/2] x86: replace BIO_VMERGE_BOUNDARY with BIOVEC_PHYS_MERGEABLE

From: Jeremy Fitzhardinge
Date: Mon Oct 27 2008 - 04:21:55 EST


FUJITA Tomonori wrote:
The block layer always done the physical merge if possible. We don't
provide any kernel parameter to disable it.

The iommu_bio_merge parameter had been used to enable the virtual
merge. As I wrote, the virtual merge feature was completely
removed. Effectively, the iommu_bio_merge parameter is meaningless
now.

Under Xen, pages which appear to be pseudo-physically adjacent are not necessarily really physically adjacent. We need to hook BIOVEC_PHYS_MERGEABLE to prevent the bio layer from inappropriately merging requests across non-contiguous page boundaries.

J
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/