[Drbd-dev] [PATCH v5 06/12] block: Add an explicit bio flag for bios that own their bvec

Tejun Heo tj at kernel.org
Thu Aug 9 00:28:41 CEST 2012


On Mon, Aug 06, 2012 at 03:08:35PM -0700, Kent Overstreet wrote:
> This is for the new bio splitting code. When we split a bio, if the
> split occured on a bvec boundry we reuse the bvec for the new bio. But
> that means bio_free() can't free it, hence the explicit flag.
> 
> Signed-off-by: Kent Overstreet <koverstreet at google.com>

Sans how the flag is preserved,

 Acked-by: Tejun Heo <tj at kernel.org>

Thanks.

-- 
tejun


More information about the drbd-dev mailing list