]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8b8e67d54180096dc37ac3e4f38e63e9bb46eb05
tree7905a4ca4096ed76d0a8d36b79ef72bf7771e358
parent929ea01f4692dfb9aa459a28650e08fe833f15f3
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