Re: [PATCH v3 08/13] md: remove MD_RECOVERY_ERROR handling and simplify resync_offset update

"Yu Kuai" <[email protected]>
Newsgroups gmane.linux.raid,gmane.linux.kernel
Message-ID <[email protected]>
在 2025/12/15 11:04, [email protected] 写道:

> From: Li Nan<[email protected]>
>
> Following previous patch "md: update curr_resync_completed even when
> MD_RECOVERY_INTR is set", 'curr_resync_completed' always equals
> 'curr_resync' for resync, so MD_RECOVERY_ERROR can be removed.
>
> Also, simplify resync_offset update logic.
>
> Signed-off-by: Li Nan<[email protected]>
> ---
>   drivers/md/md.h |  2 --
>   drivers/md/md.c | 21 ++++-----------------
>   2 files changed, 4 insertions(+), 19 deletions(-)

Reviewed-by: Yu Kuai<[email protected]>

-- 
Thansk,
Kuai
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.