diff options
author | majianpeng <majianpeng@gmail.com> | 2012-10-31 01:59:10 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-12-13 06:41:40 +0100 |
commit | 54f89341e8b8da0cdac8a7b873491739de19f098 (patch) | |
tree | 360f937ada4613db9772ef1a28f9503cb4457169 /lib/decompress_bunzip2.c | |
parent | md:Add place to update ->recovery_cp. (diff) | |
download | linux-54f89341e8b8da0cdac8a7b873491739de19f098.tar.xz linux-54f89341e8b8da0cdac8a7b873491739de19f098.zip |
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/decompress_bunzip2.c')
0 files changed, 0 insertions, 0 deletions