dm: don't set bounce limit
authorChristoph Hellwig <hch@lst.de>
Mon, 19 Jun 2017 07:26:27 +0000 (09:26 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 27 Jun 2017 18:13:45 +0000 (12:13 -0600)
Now all queues allocators come without abounce limit by default,
dm doesn't have to override this anymore.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/dm.c

index fbd06b9f946748d34caface2ebbed308051b2ef6..40294603530804f121ae2723d43de8b1c892d5d0 100644 (file)
@@ -1534,7 +1534,6 @@ void dm_init_normal_md_queue(struct mapped_device *md)
         * Initialize aspects of queue that aren't relevant for blk-mq
         */
        md->queue->backing_dev_info->congested_fn = dm_any_congested;
-       blk_queue_bounce_limit(md->queue, BLK_BOUNCE_ANY);
 }
 
 static void cleanup_mapped_device(struct mapped_device *md)