aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/python.c
diff options
context:
space:
mode:
authorYunlong Song <[email protected]>2018-10-24 08:08:30 +0000
committerJaegeuk Kim <[email protected]>2018-11-26 23:53:55 +0000
commitd6c66cd19ef322fe0d51ba09ce1b7f386acab04a (patch)
treea98bdf5573f03d0e7f69dcc927f4f709f842def7 /tools/perf/util/python.c
parentf2fs: fix to account preflush command for noflush_merge mode (diff)
downloadkernel-d6c66cd19ef322fe0d51ba09ce1b7f386acab04a.tar.gz
kernel-d6c66cd19ef322fe0d51ba09ce1b7f386acab04a.zip
f2fs: fix count of seg_freed to make sec_freed correct
When sbi->segs_per_sec > 1, and if some segno has 0 valid blocks before gc starts, do_garbage_collect will skip counting seg_freed++, and this will cause seg_freed < sbi->segs_per_sec and finally skip sec_freed++. Signed-off-by: Yunlong Song <[email protected]> Signed-off-by: Chao Yu <[email protected]> Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions