diff options
author | Kent Overstreet <koverstreet@google.com> | 2012-09-10 14:30:37 -0700 |
---|---|---|
committer | Kent Overstreet <koverstreet@google.com> | 2013-03-23 14:26:26 -0700 |
commit | 6bc454d150047fcfbf53346412e64cdf3bf61a79 (patch) | |
tree | 149f1c376d000053244867e3f72d48ef1bf1c563 /fs/bio.c | |
parent | d3b45c2a056c5df443d1ddf27fbfada65f234af1 (diff) | |
download | linux-stable-6bc454d150047fcfbf53346412e64cdf3bf61a79.tar.gz linux-stable-6bc454d150047fcfbf53346412e64cdf3bf61a79.tar.bz2 linux-stable-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 'fs/bio.c')
0 files changed, 0 insertions, 0 deletions