summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorSong Liu <songliubraving@fb.com>2016-12-14 15:38:01 -0800
committerShaohua Li <shli@fb.com>2017-01-05 11:44:38 -0800
commit3c66abbaaf69671dfd3eb9fa7740b5d7ec688231 (patch)
tree63f3110203923120a46c9b052a97a16feaf22b39 /fs/nfsd
parent28ca833ecf89c585a9543fb21aef6b2bdbbaa48a (diff)
downloadlinux-3c66abbaaf69671dfd3eb9fa7740b5d7ec688231.tar.bz2
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 'fs/nfsd')
0 files changed, 0 insertions, 0 deletions