diff options
author | majianpeng <majianpeng@gmail.com> | 2012-10-31 11:59:10 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-12-13 16:41:40 +1100 |
commit | 54f89341e8b8da0cdac8a7b873491739de19f098 (patch) | |
tree | 360f937ada4613db9772ef1a28f9503cb4457169 /lib | |
parent | 35d78c66969fbbb51046e9f251849cf54e9ed88c (diff) |
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions