lkml.org 
[lkml]   [2008]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1 of 5] xen/blkfront: Make sure we don't use bounce buffers, we don't need them
Jeremy Fitzhardinge wrote:
> 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;

ACK




\
 
 \ /
  Last update: 2008-05-31 03:59    [W:0.052 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site