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:Li Nan <linan122@huawei.com> Signed-off-by:
Song Liu <song@kernel.org> Link: https://lore.kernel.org/r/20231215023852.3478228-3-linan666@huaweicloud.com
Loading
Please sign in to comment