summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
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-15 22:02:33 -0800
commit460688b59e8bc67d25340c430c099f1c8ebcdb4d (patch)
tree4a220dc412307a7d4f95eccf1bb6a8d100cfe845 /tools/perf/scripts/python/bin
parent0186182c0c4d208a43d0c09bb04027b9e7e8f15a (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/bin')
0 files changed, 0 insertions, 0 deletions