commit | bd2a49b86d9aae0c505dcc99c0a073f9da2cc889 | [log] [tgz] |
---|---|---|
author | Alasdair G Kergon <agk@redhat.com> | Fri Mar 01 22:45:46 2013 +0000 |
committer | Alasdair G Kergon <agk@redhat.com> | Fri Mar 01 22:45:46 2013 +0000 |
tree | cf11f71d96195abd2035695c5acf1fd2c0c789b1 | |
parent | 88ae4c5294b319431c8c2ec86495b2de295adf62 [diff] |
dm: clean up clone_bio Remove the no-longer-used struct bio_set argument from clone_bio and split_bvec. Use tio->ti in __map_bio() instead of passing in ti. Factor out some code for setting up cloned bios. Take target_request_nr as a parameter to alloc_tio(). Signed-off-by: Mike Snitzer <snitzer@redhat.com> Cc: Joe Thornber <ejt@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>