summaryrefslogtreecommitdiff
path: root/drivers/block/aoe
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-06-19 10:26:26 +0300
committerJens Axboe <axboe@kernel.dk>2017-06-27 21:13:45 +0300
commit8fc450443e3c489af41a3c9c85b32d38625f2c2a (patch)
treed90a7255a56e63da540cfdf39c2c61581e86db93 /drivers/block/aoe
parent0bf6595ec81d896451f0066c95f8cd34c74313dc (diff)
downloadlinux-8fc450443e3c489af41a3c9c85b32d38625f2c2a.tar.xz
block: don't set bounce limit in blk_init_queue
Instead move it to the callers. Those that either don't use bio_data() or page_address() or are specific to architectures that do not support highmem are skipped. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/aoe')
-rw-r--r--drivers/block/aoe/aoeblk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/aoe/aoeblk.c b/drivers/block/aoe/aoeblk.c
index 027b876370bc..6797e6c23c8a 100644
--- a/drivers/block/aoe/aoeblk.c
+++ b/drivers/block/aoe/aoeblk.c
@@ -388,6 +388,7 @@ aoeblk_gdalloc(void *vp)
d->aoemajor, d->aoeminor);
goto err_mempool;
}
+ blk_queue_bounce_limit(q, BLK_BOUNCE_HIGH);
spin_lock_irqsave(&d->lock, flags);
WARN_ON(!(d->flags & DEVFL_GD_NOW));