[PATCH v4 00/12] Block cleanups

From: Kent Overstreet
Date: Tue Jul 24 2012 - 16:11:47 EST


CHANGES SINCE LAST VERSION:

Split off the "make generic_make_request() handle arbitrary size bios" - this
patch series now just kills bi_destructor and reworks bio splitting.

Split out the "rework bio splitting" patch based on Boaz's feedback - now I've
got one patch that introduces the new bio_split() and another that rewrites
bio_pair_split(), which makes the patches much more readable.

Going to try and finish off the rest of the patches that get rid of
merge_bvec_fn, but that'll be a separate patch series.

Kent Overstreet (12):
block: Generalized bio pool freeing
dm: Use bioset's front_pad for dm_rq_clone_bio_info
block: Add bio_reset()
pktcdvd: Switch to bio_kmalloc()
block: Kill bi_destructor
block: Add an explicit bio flag for bios that own their bvec
block: Rename bio_split() -> bio_pair_split()
block: Introduce new bio_split()
block: Rework bio_pair_split()
block: Add bio_clone_kmalloc()
block: Add bio_clone_bioset()
block: Only clone bio vecs that are in use

Documentation/block/biodoc.txt | 5 -
block/blk-core.c | 10 +-
drivers/block/drbd/drbd_main.c | 13 +--
drivers/block/drbd/drbd_req.c | 18 +--
drivers/block/osdblk.c | 3 +-
drivers/block/pktcdvd.c | 121 ++++++-----------
drivers/block/rbd.c | 8 +-
drivers/md/dm-crypt.c | 9 --
drivers/md/dm-io.c | 11 --
drivers/md/dm.c | 60 ++-------
drivers/md/linear.c | 6 +-
drivers/md/md.c | 44 +------
drivers/md/raid0.c | 8 +-
drivers/md/raid10.c | 23 +---
drivers/target/target_core_iblock.c | 9 --
fs/bio-integrity.c | 44 ------
fs/bio.c | 264 ++++++++++++++++++++++++-----------
fs/exofs/ore.c | 5 +-
include/linux/bio.h | 37 ++---
include/linux/blk_types.h | 9 +-
20 files changed, 281 insertions(+), 426 deletions(-)

--
1.7.7.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/