diff options
author | Christoph Hellwig <hch@lst.de> | 2017-06-19 09:26:26 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-06-27 20:13:45 +0200 |
commit | 8fc450443e3c489af41a3c9c85b32d38625f2c2a (patch) | |
tree | d90a7255a56e63da540cfdf39c2c61581e86db93 /drivers/cdrom | |
parent | block: don't set bounce limit in blk_init_allocated_queue (diff) | |
download | linux-8fc450443e3c489af41a3c9c85b32d38625f2c2a.tar.xz linux-8fc450443e3c489af41a3c9c85b32d38625f2c2a.zip |
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/cdrom')
-rw-r--r-- | drivers/cdrom/gdrom.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cdrom/gdrom.c b/drivers/cdrom/gdrom.c index 53f8278e66f7..6495b03f576c 100644 --- a/drivers/cdrom/gdrom.c +++ b/drivers/cdrom/gdrom.c @@ -813,6 +813,7 @@ static int probe_gdrom(struct platform_device *devptr) err = -ENOMEM; goto probe_fail_requestq; } + blk_queue_bounce_limit(gd.gdrom_rq, BLK_BOUNCE_HIGH); err = probe_gdrom_setupqueue(); if (err) |