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

2012-08-08 Thread Tejun Heo
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 Ov

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

2012-08-06 Thread Kent Overstreet
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 --- fs/bio.c |3 ++- include/linux/bio.h