aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJoanne Koong <[email protected]>2024-08-26 14:19:07 -0700
committerMiklos Szeredi <[email protected]>2024-08-29 11:43:12 +0200
commit4046d3adcca42b7678f11c71e46bd32bafb4dad1 (patch)
tree712dd13b973c38b173086e528ff9a88e2309b5c0 /tools/perf/util/scripting-engines/trace-event-python.c
parent9a8ebcf5e04e6cc9472bfcdd90b2aeef35a2f8f6 (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 <[email protected]> Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions