commit | 9a8b27fac5bbb77337cc2e5d31d37c9936782d87 | [log] [tgz] |
---|---|---|
author | Shaohua Li <shli@fb.com> | Thu Oct 27 15:22:13 2016 -0700 |
committer | Shaohua Li <shli@fb.com> | Fri Oct 28 22:04:03 2016 -0700 |
tree | a10573f48736ba5b5e89fdc6f4f7844fae2ce133 | |
parent | 16f889499a5214ebe038f8bd00f4c0094ed0ed75 [diff] |
raid5-cache: correct condition for empty metadata write As long as we recover one metadata block, we should write the empty metadata write. The original code could make recovery corrupted if only one meta is valid. Reported-by: Zhengyuan Liu <liuzhengyuan@kylinos.cn> Signed-off-by: Shaohua Li <shli@fb.com>