Repository navigation
Commit 54f8934
md: Update checkpoint of resync/recovery based on time.
md will current only only checkpoint recovery or resync ever 1/16th
of the device size. As devices get larger this can become a long time
an so a lot of work that might need to be duplicated after a shutdown.
So add a time-based checkpoint. Every 5 minutes limits the amount of
duplicated effort to at most 5 minutes, and has almost zero impact on
performance.
[changelog entry re-written by NeilBrown]
Signed-off-by: Jianpeng Ma <majianpeng@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>1 parent 35d78c6 commit 54f8934
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7277 | 7277 | | |
7278 | 7278 | | |
7279 | 7279 | | |
| 7280 | + | |
7280 | 7281 | | |
7281 | 7282 | | |
7282 | 7283 | | |
| |||
7285 | 7286 | | |
7286 | 7287 | | |
7287 | 7288 | | |
| 7289 | + | |
7288 | 7290 | | |
7289 | 7291 | | |
7290 | 7292 | | |
| |||
7444 | 7446 | | |
7445 | 7447 | | |
7446 | 7448 | | |
| 7449 | + | |
7447 | 7450 | | |
7448 | 7451 | | |
7449 | 7452 | | |
| |||
7455 | 7458 | | |
7456 | 7459 | | |
7457 | 7460 | | |
| 7461 | + | |
7458 | 7462 | | |
7459 | 7463 | | |
7460 | 7464 | | |
| |||
7465 | 7469 | | |
7466 | 7470 | | |
7467 | 7471 | | |
| 7472 | + | |
7468 | 7473 | | |
7469 | 7474 | | |
7470 | 7475 | | |
| |||
0 commit comments