diff options
| author | Johannes Thumshirn <johannes.thumshirn@wdc.com> | 2026-03-05 11:06:42 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-04-07 18:56:01 +0200 |
| commit | b619185168555dc286adf8af634bea39b9cf0107 (patch) | |
| tree | 931d6b3d3b5a18118768b3623d5e5c4be5b22445 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 3eaf5f082c4cc71dea70bee23355bf63b24df303 (diff) | |
btrfs: move reclaiming of a single block group into its own function
The main work of reclaiming a single block-group in
btrfs_reclaim_bgs_work() is done inside the loop iterating over all the
block_groups in the fs_info->reclaim_bgs list.
Factor out reclaim of a single block group from the loop to improve
readability.
No functional change intended.
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Boris Burkov <boris@bur.io>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
