Skip to content

Misc block layer patches for bcachefs

Kent Overstreet linux-block linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 27 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10mempool: Add mempool_init()/mempool_exit()include/linux/mempool.h mm/mempool.c+115 -273 replies
2/10block: Convert bio_set to mempool_init()block/bio-integrity.c block/bio.c include/linux/bio.h+36 -393 replies
3/10block: Add bioset_init()/bioset_exit()block/bio.c include/linux/bio.h+67 -280 replies
4/10block: Use bioset_init() for fs_bio_setblock/bio.c block/blk-core.c drivers/target/target_core_iblock.c +1 more+7 -80 replies
5/10block: Add bio_copy_data_iter(), zero_fill_bio_iter()block/bio.c include/linux/bio.h+39 -230 replies
6/10block: Split out bio_list_copy_data()block/bio.c drivers/block/pktcdvd.c include/linux/bio.h+55 -350 replies
7/10block: Add missing flush_dcache_page() callblock/bio.c+2 -00 replies
8/10block: Add warning for bi_next not NULL in bio_endio()block/bio.c block/blk-core.c+10 -10 replies
9/10block: Export bio check/set pages_dirtyblock/bio.c+2 -00 replies
10/10block: Add sysfs entry for fua supportblock/blk-sysfs.c+11 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

- 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(-)
Signature · 1 line
2.17.0