commit | 28cd88e2b4c54a466dcae7eea1efac766d42386b | [log] [tgz] |
---|---|---|
author | Zhengyuan Liu <liuzhengyuan@kylinos.cn> | Mon Oct 24 09:55:20 2016 +0800 |
committer | Shaohua Li <shli@fb.com> | Mon Oct 24 15:28:18 2016 -0700 |
tree | 6b4d215745f50e64aee78d25cfbb77cb593c18cd | |
parent | 579ed34f7b751b8add233cba4cf755258dbdd60a [diff] |
md/raid5: initialize next_checkpoint field before use No initial operation was done to this field when we load/recovery the log, it got assignment only when IO to raid disk was finished. So r5l_quiesce may use wrong next_checkpoint to reclaim log space, that would make reclaimable space calculation confused. Signed-off-by: Zhengyuan Liu <liuzhengyuan@kylinos.cn> Signed-off-by: Shaohua Li <shli@fb.com>