From: Kent Overstreet Date: Wed, 7 Aug 2013 21:31:42 +0000 (-0700) Subject: block: Remove bi_idx hacks X-Git-Tag: v3.14-rc1~43^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e90abc8ec323c1fd2a25600097ef7ae1e91f39b0;p=pandora-kernel.git 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 Cc: Jens Axboe --- Reading git-diff-tree failed