diff options
author | Filipe Manana <fdmanana@suse.com> | 2024-02-28 14:36:33 +0000 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-03-05 18:14:19 +0100 |
commit | 1cab1375ba6d5337a25acb346996106c12bb2dd0 (patch) | |
tree | 74882dd6bcf9a2fe6f3d0eeb1fdccf27d8fb57fc /scripts/gdb/linux/timerlist.py | |
parent | 978b63f7464abcfd364a6c95f734282c50f3decf (diff) |
btrfs: reuse cloned extent buffer during fiemap to avoid re-allocations
During fiemap we may have to visit multiple leaves of the subvolume's
inode tree, and each time we are freeing and allocating an extent buffer
to use as a clone of each visited leaf. Optimize this by reusing cloned
extent buffers, to avoid the freeing and re-allocation both of the extent
buffer structure itself and more importantly of the pages attached to the
extent buffer.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions