Commit bc08041
md: suspend array in md_start_sync() if array need reconfiguration
So that io won't concurrent with array reconfiguration, and it's safe to
suspend the array directly because normal io won't rely on
md_start_sync().
Signed-off-by: Yu Kuai <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]1 parent b42cd7b commit bc08041
1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9417 | 9417 | | |
9418 | 9418 | | |
9419 | 9419 | | |
| 9420 | + | |
9420 | 9421 | | |
9421 | | - | |
| 9422 | + | |
| 9423 | + | |
| 9424 | + | |
| 9425 | + | |
| 9426 | + | |
9422 | 9427 | | |
9423 | 9428 | | |
9424 | 9429 | | |
| |||
9454 | 9459 | | |
9455 | 9460 | | |
9456 | 9461 | | |
9457 | | - | |
| 9462 | + | |
9458 | 9463 | | |
9459 | 9464 | | |
9460 | 9465 | | |
| |||
9466 | 9471 | | |
9467 | 9472 | | |
9468 | 9473 | | |
9469 | | - | |
| 9474 | + | |
9470 | 9475 | | |
9471 | 9476 | | |
9472 | 9477 | | |
| |||
0 commit comments