[PATCH 00/10] Misc block layer patches for bcachefs

From: Kent Overstreet
Date: Tue May 08 2018 - 21:34:25 EST


- Add separately allowed mempools, biosets: bcachefs uses both all over the
place

- Bit of utility code - bio_copy_data_iter(), zero_fill_bio_iter()

- bio_list_copy_data(), the bi_next check - defensiveness because of a bug I
had fun chasing down at one point

- add some exports, because bcachefs does dio its own way
- show whether fua is supported in sysfs, because I don't know of anything that
exports whether the _block layer_ specifically thinks fua is supported.

Kent Overstreet (10):
mempool: Add mempool_init()/mempool_exit()
block: Convert bio_set to mempool_init()
block: Add bioset_init()/bioset_exit()
block: Use bioset_init() for fs_bio_set
block: Add bio_copy_data_iter(), zero_fill_bio_iter()
block: Split out bio_list_copy_data()
block: Add missing flush_dcache_page() call
block: Add warning for bi_next not NULL in bio_endio()
block: Export bio check/set pages_dirty
block: Add sysfs entry for fua support

block/bio-integrity.c | 29 ++--
block/bio.c | 226 ++++++++++++++++++----------
block/blk-core.c | 10 +-
block/blk-sysfs.c | 11 ++
drivers/block/pktcdvd.c | 2 +-
drivers/target/target_core_iblock.c | 2 +-
include/linux/bio.h | 35 +++--
include/linux/mempool.h | 34 +++++
mm/mempool.c | 108 +++++++++----
9 files changed, 320 insertions(+), 137 deletions(-)

--
2.17.0