summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJoanne Koong <joannelkoong@gmail.com>2024-08-26 14:19:05 -0700
committerMiklos Szeredi <mszeredi@redhat.com>2024-08-29 11:43:12 +0200
commit672c3b7457fcee9656c36a29a4b21ec4a652433e (patch)
tree4f2d008fb59c9d206a869f9d0e75389117db7959 /tools/perf/scripts/python/export-to-sqlite.py
parentc04e3b2118192384153b4eac595768e2ffb7ac4a (diff)
fuse: move initialization of fuse_file to fuse_writepages() instead of in callback
Prior to this change, data->ff is checked and if not initialized then initialized in the fuse_writepages_fill() callback, which gets called for every dirty page in the address space mapping. This logic is better placed in the main fuse_writepages() caller where data.ff is initialized before walking the dirty pages. No functional changes added. Signed-off-by: Joanne Koong <joannelkoong@gmail.com> Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions