Commit ca294b3
md/raid1: support read error check
After commit 1e50915 ("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.com1 parent 1979dbb commit ca294b3
1 file changed
+12
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2256 | 2256 | | |
2257 | 2257 | | |
2258 | 2258 | | |
2259 | | - | |
2260 | | - | |
| 2259 | + | |
2261 | 2260 | | |
| 2261 | + | |
| 2262 | + | |
| 2263 | + | |
2262 | 2264 | | |
| 2265 | + | |
| 2266 | + | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
2263 | 2272 | | |
2264 | 2273 | | |
2265 | 2274 | | |
2266 | 2275 | | |
2267 | 2276 | | |
2268 | | - | |
2269 | 2277 | | |
2270 | 2278 | | |
2271 | 2279 | | |
| |||
2506 | 2514 | | |
2507 | 2515 | | |
2508 | 2516 | | |
2509 | | - | |
2510 | | - | |
| 2517 | + | |
2511 | 2518 | | |
2512 | 2519 | | |
2513 | 2520 | | |
| |||
0 commit comments