Repository navigation
Commit d70ed2e
MD: Allow restarting an interrupted incremental recovery.
If an incremental recovery was interrupted, a subsequent
re-add will result in a full recovery, even though an
incremental should be possible (seen with raid1).
Solve this problem by not updating the superblock on the
recovering device until array is not degraded any longer.
Cc: Neil Brown <neilb@suse.de>
Signed-off-by: Andrei Warkentin <andreiw@vmware.com>
Signed-off-by: NeilBrown <neilb@suse.de>1 parent d30519f commit d70ed2e
1 file changed
Lines changed: 15 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2449 | 2449 | | |
2450 | 2450 | | |
2451 | 2451 | | |
2452 | | - | |
| 2452 | + | |
| 2453 | + | |
2453 | 2454 | | |
2454 | 2455 | | |
2455 | 2456 | | |
| |||
2465 | 2466 | | |
2466 | 2467 | | |
2467 | 2468 | | |
2468 | | - | |
| 2469 | + | |
2469 | 2470 | | |
2470 | 2471 | | |
| 2472 | + | |
| 2473 | + | |
| 2474 | + | |
2471 | 2475 | | |
2472 | 2476 | | |
2473 | 2477 | | |
| |||
7366 | 7370 | | |
7367 | 7371 | | |
7368 | 7372 | | |
7369 | | - | |
7370 | 7373 | | |
7371 | | - | |
7372 | | - | |
| 7374 | + | |
| 7375 | + | |
| 7376 | + | |
| 7377 | + | |
| 7378 | + | |
7373 | 7379 | | |
7374 | | - | |
7375 | | - | |
| 7380 | + | |
| 7381 | + | |
| 7382 | + | |
7376 | 7383 | | |
7377 | 7384 | | |
| 7385 | + | |
7378 | 7386 | | |
7379 | 7387 | | |
7380 | 7388 | | |
| |||
0 commit comments