[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250427082928.131295-1-yukuai1@huaweicloud.com>
Date: Sun, 27 Apr 2025 16:29:19 +0800
From: Yu Kuai <yukuai1@...weicloud.com>
To: hch@...radead.org,
axboe@...nel.dk,
xni@...hat.com,
agk@...hat.com,
snitzer@...nel.org,
mpatocka@...hat.com,
song@...nel.org,
yukuai3@...wei.com,
cl@...ux.com,
nadav.amit@...il.com,
ubizjak@...il.com,
akpm@...ux-foundation.org
Cc: linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org,
dm-devel@...ts.linux.dev,
linux-raid@...r.kernel.org,
yukuai1@...weicloud.com,
yi.zhang@...wei.com,
yangerkun@...wei.com,
johnny.chenyi@...wei.com
Subject: [PATCH v2 0/9] md: fix is_mddev_idle()
From: Yu Kuai <yukuai3@...wei.com>
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: cleanup 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: cleanup 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 | 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 | 2 +
13 files changed, 194 insertions(+), 142 deletions(-)
--
2.39.2
Powered by blists - more mailing lists