diff options
| author | Qu Wenruo <wqu@suse.com> | 2021-08-06 16:12:36 +0800 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2021-10-26 19:06:53 +0200 |
| commit | eb793cf857828dbb1f21bfe405e5e493fdceae6c (patch) | |
| tree | db27e493e8b0ed10eeb8b20a7d38e41734e9948f /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | btrfs: defrag: factor out page preparation into a helper (diff) | |
| download | linux-eb793cf857828dbb1f21bfe405e5e493fdceae6c.tar.gz linux-eb793cf857828dbb1f21bfe405e5e493fdceae6c.zip | |
btrfs: defrag: introduce helper to collect target file extents
Introduce a helper, defrag_collect_targets(), to collect all possible
targets to be defragged.
This function will not consider things like max_sectors_to_defrag, thus
caller should be responsible to ensure we don't exceed the limit.
This function will be the first stage of later defrag rework.
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
