diff options
author | Kent Overstreet <[email protected]> | 2013-10-29 17:17:49 -0700 |
---|---|---|
committer | Kent Overstreet <[email protected]> | 2013-11-23 22:33:55 -0800 |
commit | 1c3b13e64cf70d652fb04e32d13ae3e36810c2e4 (patch) | |
tree | ca3d3fd7d0c6d99fa2bc041ed51bac4aaa9a242a /lib/test-string_helpers.c | |
parent | 5341a6278bc5d10dbbb2ab6031b41d95c8db7a35 (diff) |
dm: Refactor for new bio cloning/splitting
We need to convert the dm code to the new bvec_iter primitives which
respect bi_bvec_done; they also allow us to drastically simplify dm's
bio splitting code.
Also, it's no longer necessary to save/restore the bvec array anymore -
driver conversions for immutable bvecs are done, so drivers should never
be modifying it.
Also kill bio_sector_offset(), dm was the only user and it doesn't make
much sense anymore.
Signed-off-by: Kent Overstreet <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Alasdair Kergon <[email protected]>
Cc: [email protected]
Reviewed-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions