diff options
| author | Filipe Manana <fdmanana@suse.com> | 2022-11-01 16:15:41 +0000 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2022-12-05 18:00:49 +0100 |
| commit | 61ce908a3c260fbe37826a6cbd56636abeffcd28 (patch) | |
| tree | 4c6cd6f7c7cd093d977f57f99f291eb2fa506836 /tools/perf/scripts/python | |
| parent | btrfs: remove the unused endio_raid56_workers and btrfs_raid_bio::end_io_work (diff) | |
| download | linux-61ce908a3c260fbe37826a6cbd56636abeffcd28.tar.gz linux-61ce908a3c260fbe37826a6cbd56636abeffcd28.zip | |
btrfs: send: avoid unnecessary path allocations when finding extent clone
When looking for an extent clone, at find_extent_clone(), we start by
allocating a path and then check for cases where we can't have clones
and exit immediately in those cases. It's a waste of time to allocate
the path before those cases, so reorder the logic so that we check for
those cases before allocating the path.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
