aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorFan Li <fanofcode.li@samsung.com>2017-11-07 11:04:33 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2017-11-09 09:41:08 -0800
commit74986213adaff2ceab81fc0bb29dbb80d05665b3 (patch)
treec3d76f044522aa95e71b2f531db624792dcc685f /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parenta5fd505092863c520ddf26bd188716b532c1efcf (diff)
f2fs: keep scanning until enough free nids are acquired
In current version, after scan_free_nid_bits, the scan is over if nid_cnt[FREE_NID] != 0. In most cases, there are still free nids in the free list during the scan, and scan_free_nid_bits usually can't increase nid_cnt[FREE_NID]. It causes that __build_free_nids is called many times without solving the shortage of the free nids. This patch fixes that. Signed-off-by: Fan li <fanofcode.li@samsung.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions