diff options
author | 2023-12-15 10:38:52 +0800 | |
---|---|---|
committer | 2023-12-15 15:22:15 -0800 | |
commit | ca294b34aaf3a417fe9069b174e52508ac918ec8 (patch) | |
tree | 193b9669717323dacf9f03f6250675e1d9c46a22 /drivers/pcmcia/max1600.c | |
parent | md: factor out a helper exceed_read_errors() to check read_errors (diff) | |
download | linux-ca294b34aaf3a417fe9069b174e52508ac918ec8.tar.gz linux-ca294b34aaf3a417fe9069b174e52508ac918ec8.tar.bz2 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/pcmcia/max1600.c')
0 files changed, 0 insertions, 0 deletions