[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [linux-2.6.18-xen] BLKFRONT: Make sure we don't use bounce buffers, we don't need them.
# HG changeset patch # User Ian Campbell <ian.campbell@xxxxxxxxxxxxx> # Date 1185543936 -3600 # Node ID 667228bf8fc5f1a21719e11c7eb269d0188a2d60 # Parent 88a17da7f3362126182423100a9d7d4c0d854139 BLKFRONT: Make sure we don't use bounce buffers, we don't need them. Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxxxxx> --- drivers/xen/blkfront/vbd.c | 3 +++ 1 files changed, 3 insertions(+) diff -r 88a17da7f336 -r 667228bf8fc5 drivers/xen/blkfront/vbd.c --- a/drivers/xen/blkfront/vbd.c Thu Jul 26 16:36:52 2007 +0100 +++ b/drivers/xen/blkfront/vbd.c Fri Jul 27 14:45:36 2007 +0100 @@ -213,6 +213,9 @@ xlvbd_init_blk_queue(struct gendisk *gd, /* 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; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |