aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2015-09-17 20:22:44 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2015-10-09 16:20:52 -0700
commitea58711e884c3006e6f61e44d47f0c2d9f0979e1 (patch)
treea2158dd4c7a123ebf2d815292682d6cd41516381 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentf2fs: optimize code of f2fs_update_extent_tree_range (diff)
downloadlinux-dev-ea58711e884c3006e6f61e44d47f0c2d9f0979e1.tar.xz
linux-dev-ea58711e884c3006e6f61e44d47f0c2d9f0979e1.zip
f2fs: do in batches truncation in truncate_hole
truncate_data_blocks_range can do in batches truncation which makes all changes in dnode page content, dnode page status, extent cache, block count updating together. But previously, truncate_hole() always truncates one block in dnode page at a time by invoking truncate_data_blocks_range(,1), which make thing slow. This patch changes truncate_hole() to do in batches truncation for all target blocks in one direct node inside truncate_data_blocks_range, which can make our punch hole operation in ->fallocate more efficent. Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions