diff options
author | 2024-08-26 14:19:05 -0700 | |
---|---|---|
committer | 2024-08-29 11:43:12 +0200 | |
commit | 672c3b7457fcee9656c36a29a4b21ec4a652433e (patch) | |
tree | 4f2d008fb59c9d206a869f9d0e75389117db7959 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fuse: refactor finished writeback stats updates into helper function (diff) | |
download | linux-rng-672c3b7457fcee9656c36a29a4b21ec4a652433e.tar.xz linux-rng-672c3b7457fcee9656c36a29a4b21ec4a652433e.zip |
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-postgresql.py')
0 files changed, 0 insertions, 0 deletions