diff options
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/xen-blkfront.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c index f2fff5799ddf..e8d3bf6f3918 100644 --- a/drivers/block/xen-blkfront.c +++ b/drivers/block/xen-blkfront.c | |||
@@ -324,6 +324,9 @@ static int xlvbd_init_blk_queue(struct gendisk *gd, u16 sector_size) | |||
324 | /* Make sure buffer addresses are sector-aligned. */ | 324 | /* Make sure buffer addresses are sector-aligned. */ |
325 | blk_queue_dma_alignment(rq, 511); | 325 | blk_queue_dma_alignment(rq, 511); |
326 | 326 | ||
327 | /* Make sure we don't use bounce buffers. */ | ||
328 | blk_queue_bounce_limit(rq, BLK_BOUNCE_ANY); | ||
329 | |||
327 | gd->queue = rq; | 330 | gd->queue = rq; |
328 | 331 | ||
329 | return 0; | 332 | return 0; |