diff options
author | Joanne Koong <joannelkoong@gmail.com> | 2024-08-26 14:19:07 -0700 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2024-08-29 11:43:12 +0200 |
commit | 4046d3adcca42b7678f11c71e46bd32bafb4dad1 (patch) | |
tree | 712dd13b973c38b173086e528ff9a88e2309b5c0 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9a8ebcf5e04e6cc9472bfcdd90b2aeef35a2f8f6 (diff) |
fuse: move fuse file initialization to wpa allocation time
Before this change, wpa->ia.ff is initialized with an acquired reference
on the fuse file right before it submits the writeback request. If there
are auxiliary writebacks, then the initialization and reference
acquisition needs to also be set before we submit the auxiliary writeback
request.
To make the logic simpler and to pave the way for a subsequent
refactoring of fuse_writepages_fill() and fuse_writepage_locked(), this
change initializes and acquires wpa->ia.ff when the wpa is allocated.
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