diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-08-07 14:31:42 -0700 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2013-11-23 22:33:55 -0800 |
commit | e90abc8ec323c1fd2a25600097ef7ae1e91f39b0 (patch) | |
tree | c144139c73f2ef56a69c4721f66f8b8f166b6157 /drivers/md/dm-thin.c | |
parent | c8db444820a1e37ebdca38a0210bca85f832214f (diff) | |
download | op-kernel-dev-e90abc8ec323c1fd2a25600097ef7ae1e91f39b0.zip op-kernel-dev-e90abc8ec323c1fd2a25600097ef7ae1e91f39b0.tar.gz |
block: Remove bi_idx hacks
Now that drivers have been converted to the new bvec_iter primitives,
there's no need to trim the bvec before we submit it; and we can't trim
it once we start sharing bvecs.
It used to be that passing a partially completed bio (i.e. one with
nonzero bi_idx) to generic_make_request() was a dangerous thing -
various drivers would choke on such things. But with immutable biovecs
and our new bio splitting that shares the biovecs, submitting partially
completed bios has to work (and should work, now that all the drivers
have been completed to the new primitives)
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Cc: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/dm-thin.c')
0 files changed, 0 insertions, 0 deletions