blk-map: call blk_queue_bounce from blk_rq_append_bio
authorChristoph Hellwig <hch@lst.de>
Tue, 27 Jun 2017 18:13:21 +0000 (12:13 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 27 Jun 2017 18:13:21 +0000 (12:13 -0600)
commitcaa4b02476e31fc7933d2138062f7f355d3cd8f7
tree7905a4ca4096ed76d0a8d36b79ef72bf7771e358
parente442cbf910c71fba5926cf757dd7f8fcce22fc5f
blk-map: call blk_queue_bounce from blk_rq_append_bio

This makes moves the knowledge about bouncing out of the callers into the
block core (just like we do for the normal I/O path), and allows to unexport
blk_queue_bounce.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-map.c
block/bounce.c
drivers/scsi/osd/osd_initiator.c