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>
此提交包含在:
Christoph Hellwig
2017-06-19 09:26:26 +02:00
提交者 Jens Axboe
父節點 0bf6595ec8
當前提交 8fc450443e
共有 13 個檔案被更改,包括 13 行新增5 行删除

查看文件

@@ -592,6 +592,7 @@ static int jsfd_init(void)
put_disk(disk);
goto out;
}
blk_queue_bounce_limit(disk->queue, BLK_BOUNCE_HIGH);
jsfd_disk[i] = disk;
}