mbox series

[RESEND,0/7] md: enhance faulty checking for blocked handling

Message ID 20241031033114.3845582-1-yukuai1@huaweicloud.com (mailing list archive)
Headers show
Series md: enhance faulty checking for blocked handling | expand

Message

Yu Kuai Oct. 31, 2024, 3:31 a.m. UTC
From: Yu Kuai <yukuai3@huawei.com>

Why resend?
 - fix a wrong condition in patch 2;
 - the md-6.13 branch will have to update;

Changes in v2:
 - add more comments and commit message in patch 3;
 - fix some typo;


Yu Kuai (7):
  md: add a new helper rdev_blocked()
  md: don't wait faulty rdev in md_wait_for_blocked_rdev()
  md: don't record new badblocks for faulty rdev
  md/raid1: factor out helper to handle blocked rdev from
    raid1_write_request()
  md/raid1: don't wait for Faulty rdev in wait_blocked_rdev()
  md/raid10: don't wait for Faulty rdev in wait_blocked_rdev()
  md/raid5: don't set Faulty rdev for blocked_rdev

 drivers/md/md.c     | 15 +++++++--
 drivers/md/md.h     | 24 +++++++++++++++
 drivers/md/raid1.c  | 75 +++++++++++++++++++++++----------------------
 drivers/md/raid10.c | 40 +++++++++++-------------
 drivers/md/raid5.c  | 13 ++++----
 5 files changed, 99 insertions(+), 68 deletions(-)

Comments

Song Liu Nov. 5, 2024, 11:50 p.m. UTC | #1
On Wed, Oct 30, 2024 at 8:34 PM Yu Kuai <yukuai1@huaweicloud.com> wrote:
>
> From: Yu Kuai <yukuai3@huawei.com>
>
> Why resend?
>  - fix a wrong condition in patch 2;
>  - the md-6.13 branch will have to update;

Applied to md-6.13. Thanks!

Song