>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhengyuan Liu <liuzhengyuan@kylinos.cn>2016-10-24 09:55:20 +0800
committerShaohua Li <shli@fb.com>2016-10-24 15:28:18 -0700
commit28cd88e2b4c54a466dcae7eea1efac766d42386b (patch)
tree6b4d215745f50e64aee78d25cfbb77cb593c18cd
parent579ed34f7b751b8add233cba4cf755258dbdd60a (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>