commit | 25d8be77e19224d8f21b363d77b5283c5dc21a57 | [log] [tgz] |
---|---|---|
author | Ming Lei <ming.lei@redhat.com> | Mon Dec 18 20:22:10 2017 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Sat Jan 06 09:18:00 2018 -0700 |
tree | 4a07629635d9e2109caca1c0418208fc167f8082 | |
parent | c2421edf5f9151d0eb28affbf76e9e4f8ddd03c6 [diff] |
block: move bio_alloc_pages() to bcache bcache is the only user of bio_alloc_pages(), so move this function into bcache, and avoid it being misused in the future. Also rename it to bch_bio_allo_pages() since it is bcache only. Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>