diff options
author | Kent Overstreet <koverstreet@google.com> | 2012-09-10 23:30:37 +0200 |
---|---|---|
committer | Kent Overstreet <koverstreet@google.com> | 2013-03-23 22:26:26 +0100 |
commit | 6bc454d150047fcfbf53346412e64cdf3bf61a79 (patch) | |
tree | 149f1c376d000053244867e3f72d48ef1bf1c563 /drivers/cpuidle | |
parent | raid1: use bio_copy_data() (diff) | |
download | linux-6bc454d150047fcfbf53346412e64cdf3bf61a79.tar.xz linux-6bc454d150047fcfbf53346412e64cdf3bf61a79.zip |
bounce: Refactor __blk_queue_bounce to not use bi_io_vec
A bunch of what __blk_queue_bounce() was doing was problematic for the
immutable bvec work; this cleans that up and the code is quite a bit
smaller, too.
The __bio_for_each_segment() in copy_to_high_bio_irq() was changed
because that one's looping over the original bio, not the bounce bio -
a later patch renames __bio_for_each_segment() ->
bio_for_each_segment_all(), and documents that
bio_for_each_segment_all() is only for code that owns the bio.
Signed-off-by: Kent Overstreet <koverstreet@google.com>
CC: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/cpuidle')
0 files changed, 0 insertions, 0 deletions