diff options
author | Christoph Hellwig <hch@lst.de> | 2017-06-19 09:26:24 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-06-27 12:13:45 -0600 |
commit | 46685d1a9521054fa3a7a352f6bb54166cd5b2c5 (patch) | |
tree | 4da41c3661d2fc577ff72d36ab53e64c8d803c62 /block | |
parent | 0b0bcacc3b4300c4bba0bacb4c7a279b2728f331 (diff) | |
download | linux-46685d1a9521054fa3a7a352f6bb54166cd5b2c5.tar.gz linux-46685d1a9521054fa3a7a352f6bb54166cd5b2c5.tar.bz2 linux-46685d1a9521054fa3a7a352f6bb54166cd5b2c5.zip |
blk-mq: don't bounce by default
For historical reasons we default to bouncing highmem pages for all block
queues. But the blk-mq drivers are easy to audit to ensure that we don't
need this - scsi and mtip32xx set explicit limits and everyone else doesn't
have any particular ones.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-mq.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c index 41e3aeb51c9a..05dfa3f270ae 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -2350,11 +2350,6 @@ struct request_queue *blk_mq_init_allocated_queue(struct blk_mq_tag_set *set, blk_queue_make_request(q, blk_mq_make_request); /* - * by default assume old behaviour and bounce for any highmem page - */ - blk_queue_bounce_limit(q, BLK_BOUNCE_HIGH); - - /* * Do this after blk_queue_make_request() overrides it... */ q->nr_requests = set->queue_depth; |