[PATCH 1 of 5] xen/blkfront: Make sure we don't use bounce buffers, we don't need them

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jeff Garzik <jgarzik.pobox.com@...>
Cc: Jens Axboe <jens.axboe@...>, LKML <linux-kernel@...>
Date: Friday, May 30, 2008 - 7:50 pm

From: Ian Campbell <ian.campbell@xensource.com>

[ linux-2.6.18-xen changeset 667228bf8fc5 ]

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
---
 drivers/block/xen-blkfront.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c
--- a/drivers/block/xen-blkfront.c
+++ b/drivers/block/xen-blkfront.c
@@ -324,6 +324,9 @@
 	/* Make sure buffer addresses are sector-aligned. */
 	blk_queue_dma_alignment(rq, 511);
 
+	/* Make sure we don't use bounce buffers. */
+	blk_queue_bounce_limit(rq, BLK_BOUNCE_ANY);
+
 	gd->queue = rq;
 
 	return 0;


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

Messages in current thread:
[PATCH 0 of 5] xen device driver updates, Jeremy Fitzhardinge, (Fri May 30, 7:50 pm)
[PATCH 5 of 5] xen: Avoid allocations causing swap activity ..., Jeremy Fitzhardinge, (Fri May 30, 7:50 pm)
[PATCH 2 of 5] xn/blkfront: Add the CDROM_GET_CAPABILITY ioc..., Jeremy Fitzhardinge, (Fri May 30, 7:50 pm)
[PATCH 1 of 5] xen/blkfront: Make sure we don't use bounce b..., Jeremy Fitzhardinge, (Fri May 30, 7:50 pm)
[PATCH 4 of 5] xen/blkfront: add __exit to module_exit() han..., Jeremy Fitzhardinge, (Fri May 30, 7:50 pm)
[PATCH 3 of 5] xen/blkfront: Make sure that the device is fu..., Jeremy Fitzhardinge, (Fri May 30, 7:50 pm)