aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorSong Liu <[email protected]>2016-12-14 15:38:01 -0800
committerShaohua Li <[email protected]>2017-01-05 11:44:38 -0800
commit3c66abbaaf69671dfd3eb9fa7740b5d7ec688231 (patch)
tree63f3110203923120a46c9b052a97a16feaf22b39 /lib/test-string_helpers.c
parent28ca833ecf89c585a9543fb21aef6b2bdbbaa48a (diff)
md/r5cache: simplify handling of sh->log_start in recovery
We only need to update sh->log_start at the end of recovery, which is r5c_recovery_rewrite_data_only_stripes(), so it is not necessary to set it before that. In this patch, log_start is removed from r5c_recovery_alloc_stripe(). After updating all sh->log_start, rewrite_data_only_stripes() also updates log->next_checkpoints to the last sh->log_start. Signed-off-by: Song Liu <[email protected]> Signed-off-by: Shaohua Li <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions