diff options
| author | Filipe Manana <fdmanana@suse.com> | 2025-05-31 16:33:14 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-07-21 23:53:29 +0200 |
| commit | 841324a8e60b25b2fa56f93ccc1ef36887593b5a (patch) | |
| tree | 5447c8919e6032a4ffc68bf76549966c59c65a61 /tools/perf/scripts/python/stackcollapse.py | |
| parent | b32efae7b853585b1453f169fa5a14565b652326 (diff) | |
btrfs: allocate path earlier at btrfs_log_new_name()
Instead of allocating the path after joining the log transaction, allocate
it before so that we're not delaying log commits for the rare cases where
the allocation takes a significant time (under memory pressure and all
slabs are full, there's the need to allocate a new page, etc).
Reviewed-by: Boris Burkov <boris@bur.io>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
