xen/blkfront: Make sure we don't use bounce buffers, we don't need them.
Subsystems (3)
PATCH 1/5 xen/blkfront: Make sure we don't use bounce buffers, we don't need them.
From: Ian Campbell <[email protected]>
[ linux-2.6.18-xen changeset 667228bf8fc5 ]
Signed-off-by Ian Campbell <[email protected]>
Signed-off-by Jeremy Fitzhardinge <[email protected]>
---drivers/block/xen-blkfront.c | 3 +++
1 file changed, 3 insertions(+)
===================================================================
drivers/block/xen-blkfront.c +0 -0
@@ -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;
Quoted 6 lines · Jeremy Fitzhardinge
From: Ian Campbell <[email protected]>
[ linux-2.6.18-xen changeset
667228bf8fc5]Signed-off-by Ian Campbell <[email protected]>Signed-off-by Jeremy Fitzhardinge <[email protected]>
All 5 patches look fine to me, I've queued them for 2.6.27.
Signature · 1 line
Jens Axboe