提交 1c91fe1a 编写于 作者: I Ian Campbell 提交者: Jens Axboe

xen/blkfront: Make sure we don't use bounce buffers, we don't need them.

[ linux-2.6.18-xen changeset 667228bf8fc5 ]
Signed-off-by: NIan Campbell <ian.campbell@xensource.com>
Signed-off-by: NJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
上级 244b4d56
......@@ -324,6 +324,9 @@ static int xlvbd_init_blk_queue(struct gendisk *gd, u16 sector_size)
/* 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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册