Commit 6e3b0b9
md/raid1: move the exceed_read_errors condition out of fix_read_error
This condition much better fits into the only caller, limiting
fix_read_error to actually fix up data devices after a read error.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20260529054308.2720300-3-hch@lst.de
Signed-off-by: Yu Kuai <yukuai@fygo.io>1 parent fcba803 commit 6e3b0b9
1 file changed
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2418 | 2418 | | |
2419 | 2419 | | |
2420 | 2420 | | |
2421 | | - | |
2422 | | - | |
2423 | | - | |
2424 | | - | |
2425 | | - | |
2426 | 2421 | | |
2427 | 2422 | | |
2428 | 2423 | | |
| |||
2659 | 2654 | | |
2660 | 2655 | | |
2661 | 2656 | | |
2662 | | - | |
| 2657 | + | |
| 2658 | + | |
| 2659 | + | |
| 2660 | + | |
2663 | 2661 | | |
2664 | 2662 | | |
2665 | 2663 | | |
| |||
0 commit comments