diff options
author | 2016-12-14 15:38:01 -0800 | |
---|---|---|
committer | 2017-01-05 11:44:38 -0800 | |
commit | 3c66abbaaf69671dfd3eb9fa7740b5d7ec688231 (patch) | |
tree | 63f3110203923120a46c9b052a97a16feaf22b39 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | md/raid5-cache: removes unnecessary write-through mode judgments (diff) | |
download | wireguard-linux-3c66abbaaf69671dfd3eb9fa7740b5d7ec688231.tar.xz wireguard-linux-3c66abbaaf69671dfd3eb9fa7740b5d7ec688231.zip |
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 <songliubraving@fb.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions