Commit 97229215 authored by Li Nan's avatar Li Nan
Browse files

md/raid1: support read error check

mainline inclusion
from mainline-next-20231220
commit ca294b34aaf3a417fe9069b174e52508ac918ec8
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8T02O

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ca294b34aaf3a417fe9069b174e52508ac918ec8



--------------------------------

After commit 1e50915f ("raid: improve MD/raid10 handling of correctable
read errors."), rdev will be set to faulty if it reads data error to many
times in raid10. Add this mechanism to raid1 now.

Signed-off-by: default avatarLi Nan <linan122@huawei.com>
Signed-off-by: default avatarSong Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20231215023852.3478228-3-linan666@huaweicloud.com
parent a17e3924
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment