summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorLiFan <fanofcode.li@samsung.com>2017-11-10 15:41:42 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2017-11-15 22:03:44 -0800
commit48c72b4c8c5016521b3c670d003acb1dc664c3ac (patch)
treec400fe5a084865f82b686a2a70a2d62d2af156ea /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentbaf9275a4bbdf42fcc443ba3ba90482ee9995665 (diff)
f2fs: validate before set/clear free nat bitmap
In flush_nat_entries, all dirty nats will be flushed and if their new address isn't NULL_ADDR, their bitmaps will be updated, the free_nid_count of the bitmaps will be increaced regardless of whether the nats have already been occupied before. This could lead to wrong free_nid_count. So this patch checks the status of the bits beforeactually set/clear them. Fixes: 586d1492f301 ("f2fs: skip scanning free nid bitmap of full NAT blocks") 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/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions