block: Add an explicit bio flag for bios that own their bvec
authorKent Overstreet <koverstreet@google.com>
Fri, 25 May 2012 20:03:11 +0000 (13:03 -0700)
committerKent Overstreet <koverstreet@google.com>
Sat, 23 Mar 2013 21:26:33 +0000 (14:26 -0700)
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@google.com>
CC: Jens Axboe <axboe@kernel.dk>
Acked-by: Tejun Heo <tj@kernel.org>
fs/bio.c
include/linux/bio.h
include/linux/blk_types.h

diff --cc fs/bio.c
Simple merge
Simple merge
Simple merge