From: Kent Overstreet Date: Wed, 7 Aug 2013 21:26:21 +0000 (-0700) Subject: block: Immutable bio vecs X-Git-Tag: v3.14-rc1~43^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4550dd6c6b062fc5e5b647296d55da22616123c3;p=pandora-kernel.git block: Immutable bio vecs This adds a mechanism by which we can advance a bio by an arbitrary number of bytes without modifying the biovec: bio->bi_iter.bi_bvec_done indicates the number of bytes completed in the current bvec. Various driver code still needs to be updated to not refer to the bvec directly before we can use this for interesting things, like efficient bio splitting. Signed-off-by: Kent Overstreet Cc: Jens Axboe Cc: Lars Ellenberg Cc: Paul Clements Cc: drbd-user@lists.linbit.com Cc: nbd-general@lists.sourceforge.net --- Reading git-diff-tree failed