[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <d2fa618a-6757-4ed1-9626-6e97e227d9fa@fnnas.com>
Date: Thu, 30 Oct 2025 09:59:20 +0800
From: "Yu Kuai" <yukuai@...as.com>
To: "Kenta Akagi" <k@...l.me>, "Song Liu" <song@...nel.org>,
"Shaohua Li" <shli@...com>, "Mariusz Tkaczyk" <mtkaczyk@...nel.org>,
"Guoqing Jiang" <jgq516@...il.com>
Cc: <linux-raid@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v5 01/16] md: move device_lock from conf to mddev
在 2025/10/27 23:04, Kenta Akagi 写道:
> Move device_lock from mddev->private (r1conf, r10conf, r5conf)
> to the mddev structure in preparation for serializing md_error() and
> introducing new function that conditional md_error() calls to
> improvement failfast bio error handling.
>
> This commit only moves the device_lock location with no functional
> changes. Subsequent commits will serialize md_error() and introduce
> a new function that calls md_error() conditionally.
>
> Signed-off-by: Kenta Akagi<k@...l.me>
> ---
> drivers/md/md.c | 1 +
> drivers/md/md.h | 2 +
> drivers/md/raid1.c | 51 +++++++-------
> drivers/md/raid1.h | 2 -
> drivers/md/raid10.c | 61 +++++++++--------
> drivers/md/raid10.h | 1 -
> drivers/md/raid5-cache.c | 16 ++---
> drivers/md/raid5.c | 139 +++++++++++++++++++--------------------
> drivers/md/raid5.h | 1 -
> 9 files changed, 135 insertions(+), 139 deletions(-)
Reviewed-by: Yu Kuai <yukuai@...as.com>
Powered by blists - more mailing lists