commit | 9ed988f5dc673f009d78f7ac55c5da88e1cf58a0 | [log] [tgz] |
---|---|---|
author | Song Liu <songliubraving@fb.com> | Thu Nov 17 15:24:42 2016 -0800 |
committer | Shaohua Li <shli@fb.com> | Fri Nov 18 13:27:45 2016 -0800 |
tree | 2d5d9307dc7cde11b5a0938a5ce183fd371764cd | |
parent | 2c7da14b90a01e48b17a028de6050a796cfd6d8d [diff] |
md/r5cache: refactoring journal recovery code 1. rename r5l_read_meta_block() as r5l_recovery_read_meta_block(); 2. pull the code that initialize r5l_meta_block from r5l_log_write_empty_meta_block() to a separate function r5l_recovery_create_empty_meta_block(), so that we can reuse this piece of code. Signed-off-by: Song Liu <songliubraving@fb.com> Signed-off-by: Shaohua Li <shli@fb.com>