Hi Jens, Please consider pulling following changes for md-6.6 on your for-6.16/block branch, this pull request contains: - fix normal IO can be starved by sync IO, found by mkfs on newly created large raid5, with some clean up patches for bdev inflight counters; - add kconfig for md-bitmap, I have decided not to continue optimizing based on the old bitmap implementation, and plan to invent a new lock-less bitmap. And a new kconfig option is a good way for isolation; Thanks Kuai The following changes since commit 824afb9b04648ea11531fc9047923ec07e7a943d: block: move removing elevator after deleting disk->queue_kobj (2025-05-08 09:03:44 -0600) are available in the Git repository at: https://kernel.googlesource.com/pub/scm/linux/kernel/git/mdraid/linux.git tags/md-6.16-20250512 for you to fetch changes up to 1b7bf4c5c5eb07ae05a3ca9126a1ae27c1905361: md/md-bitmap: introduce CONFIG_MD_BITMAP (2025-05-10 17:23:51 +0800) ---------------------------------------------------------------- Yu Kuai (20): blk-mq: remove blk_mq_in_flight() block: reuse part_in_flight_rw for part_in_flight block: WARN if bdev inflight counter is negative block: clean up blk_mq_in_flight_rw() block: export API to get the number of bdev inflight IO md: record dm-raid gendisk in mddev md: add a new api sync_io_depth md: fix is_mddev_idle() md: clean up accounting for issued sync IO md/md-bitmap: remove the parameter 'init' for bitmap_ops->resize() md/md-bitmap: merge md_bitmap_group into bitmap_operations md/md-bitmap: add md_bitmap_registered/enabled() helper md/md-bitmap: handle the case bitmap is not enabled before start_sync() md/md-bitmap: handle the case bitmap is not enabled before end_sync() md/raid1: check bitmap before behind write md/raid1: check before referencing mddev->bitmap_ops md/raid10: check before referencing mddev->bitmap_ops md/raid5: check before referencing mddev->bitmap_ops md: check before referencing mddev->bitmap_ops md/md-bitmap: introduce CONFIG_MD_BITMAP block/blk-core.c | 2 +- block/blk-mq.c | 22 +--- block/blk-mq.h | 5 +- block/blk.h | 1 - block/genhd.c | 69 ++++++----- drivers/md/Kconfig | 18 +++ drivers/md/Makefile | 3 +- drivers/md/dm-raid.c | 5 +- drivers/md/md-bitmap.c | 67 +++++----- drivers/md/md-bitmap.h | 62 +++++++++- drivers/md/md-cluster.c | 2 +- drivers/md/md.c | 302 ++++++++++++++++++++++++++++++++-------------- drivers/md/md.h | 22 +--- drivers/md/raid1-10.c | 2 +- drivers/md/raid1.c | 82 +++++++------ drivers/md/raid10.c | 57 ++++----- drivers/md/raid5.c | 38 +++--- include/linux/blkdev.h | 1 - include/linux/part_stat.h | 2 + 19 files changed, 472 insertions(+), 290 deletions(-)