diff options
author | Li Nan <linan122@huawei.com> | 2023-12-15 03:38:52 +0100 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2023-12-16 00:22:15 +0100 |
commit | ca294b34aaf3a417fe9069b174e52508ac918ec8 (patch) | |
tree | 193b9669717323dacf9f03f6250675e1d9c46a22 /drivers/hwmon/smpro-hwmon.c | |
parent | md: factor out a helper exceed_read_errors() to check read_errors (diff) | |
download | linux-ca294b34aaf3a417fe9069b174e52508ac918ec8.tar.xz linux-ca294b34aaf3a417fe9069b174e52508ac918ec8.zip |
md/raid1: support read error check
After commit 1e50915fe0bb ("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
Diffstat (limited to 'drivers/hwmon/smpro-hwmon.c')
0 files changed, 0 insertions, 0 deletions