Commit 50e8274
md: don't wait faulty rdev in md_wait_for_blocked_rdev()
md_wait_for_blocked_rdev() is called for write IO while rdev is
blocked, howerver, rdev can be faulty after choosing this rdev to write,
and faulty rdev should never be accessed anymore, hence there is no point
to wait for faulty rdev to be unblocked.
Signed-off-by: Yu Kuai <[email protected]>
Tested-by: Mariusz Tkaczyk <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Song Liu <[email protected]>1 parent 4abfce1 commit 50e8274
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9762 | 9762 | | |
9763 | 9763 | | |
9764 | 9764 | | |
9765 | | - | |
9766 | | - | |
9767 | | - | |
| 9765 | + | |
9768 | 9766 | | |
9769 | 9767 | | |
9770 | 9768 | | |
| |||
0 commit comments