Skip to content

md: fix is_mddev_idle()

Yu Kuai dm-devel linux-block linux-raid lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest9 patches 3 repliesIn review
  2. v2 posting 2/29 patches 21 repliesSuperseded
  3. v2 posting 1/25 patches 12 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches11 repliesSuperseded

Changes in v3 from the cover letter

- add review tag for patch 1-5;
- fix some typo and words;

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9blk-mq: remove blk_mq_in_flight()block/blk-mq.c block/blk-mq.h+0 -120 replies
2/9block: reuse part_in_flight_rw for part_in_flightblock/genhd.c+9 -150 replies
3/9block: WARN if bdev inflight counter is negativeblock/genhd.c+2 -21 reply
4/9block: clean up blk_mq_in_flight_rw()block/blk-mq.c block/blk-mq.h block/genhd.c+32 -260 replies
4/9block: cleanup blk_mq_in_flight_rw()block/blk-mq.c block/blk-mq.h block/genhd.c+32 -261 reply
5/9block: export API to get the number of bdev inflight IOblock/blk-core.c block/blk.h block/genhd.c +1 more+19 -80 replies
6/9md: record dm-raid gendisk in mddevdrivers/md/dm-raid.c drivers/md/md.h+5 -10 replies
7/9md: add a new api sync_io_depthdrivers/md/md.c drivers/md/md.h+91 -190 replies
8/9md: fix is_mddev_idle()drivers/md/md.c drivers/md/md.h+45 -391 reply
9/9md: clean up accounting for issued sync IOdrivers/md/md.h drivers/md/raid1.c drivers/md/raid10.c +2 more+0 -320 replies

Reviews trailers per patch

All 10 patches have a Reviewed-by or Acked-by.

PatchChristoph HellwigJohn GarryHannes ReineckeXiao Ni
1/9R-b R-b R-b
2/9R-b R-b R-b
3/9R-b R-b R-b
4/9R-b R-b
4/9R-b R-b
5/9R-b R-b
6/9R-b
7/9R-b
8/9R-b
9/9R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/9] md: fix is_mddev_idle()

From: Yu Kuai <[email protected]>

Changes in v3:
- add review tag for patch 1-5;
- fix some typo and words;
Changes in v2:
- add patch 1-5;
- add reviewed-by in patch 6,7,9;
- rename mddev->last_events to mddev->normal_IO_events in patch 8;

Yu Kuai (9):
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

 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/dm-raid.c      |   3 +
 drivers/md/md.c           | 190 ++++++++++++++++++++++++++------------
 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 |   2 +
 13 files changed, 191 insertions(+), 142 deletions(-)
Signature · 1 line
2.39.2