mbox series

[v2,0/5] md: fix is_mddev_idle()

Message ID 20250418010941.667138-1-yukuai1@huaweicloud.com (mailing list archive)
Headers show
Series md: fix is_mddev_idle() | expand

Message

Yu Kuai April 18, 2025, 1:09 a.m. UTC
From: Yu Kuai <yukuai3@huawei.com>

Changes in v2:
 - more cleanps in patch 1;
 - add patch 2, to record dm-raid gendisk, and also handle dm-raid in
 patch 4;
 - keep the old commnts in patch 3;

Yu Kuai (5):
  block: cleanup and export bdev IO inflight APIs
  md: record dm-raid gendisk in mddev
  md: add a new api sync_io_depth
  md: fix is_mddev_idle()
  md: cleanup accounting for issued sync IO

 block/blk-core.c          |   2 +-
 block/blk-mq.c            |  15 +--
 block/blk-mq.h            |   7 +-
 block/blk.h               |   1 -
 block/genhd.c             |  48 +++++-----
 drivers/md/dm-raid.c      |   3 +
 drivers/md/md.c           | 193 +++++++++++++++++++++++++++-----------
 drivers/md/md.h           |  18 +---
 drivers/md/raid1.c        |   3 -
 drivers/md/raid10.c       |   9 --
 drivers/md/raid5.c        |   8 --
 include/linux/blkdev.h    |   1 -
 include/linux/part_stat.h |  10 ++
 13 files changed, 184 insertions(+), 134 deletions(-)