aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNaohiro Aota <naohiro.aota@wdc.com>2025-04-23 11:43:50 +0900
committerDavid Sterba <dsterba@suse.com>2025-05-15 14:30:53 +0200
commitcc0517fe779f2186545ac9c6a3439809b98b24f1 (patch)
tree2f4a7a5829c19b3c011209c897a172274f7d8fb5 /tools/perf/scripts/python/export-to-postgresql.py
parentbtrfs: introduce tree-log sub-space_info (diff)
downloadlinux-rng-cc0517fe779f2186545ac9c6a3439809b98b24f1.tar.xz
linux-rng-cc0517fe779f2186545ac9c6a3439809b98b24f1.zip
btrfs: tweak extent/chunk allocation for space_info sub-space
Make the extent allocator and the chunk allocator aware of the sub-space. It now uses BTRFS_SUB_GROUP_DATA_RELOC sub-space for data relocation block group, and uses BTRFS_SUB_GROUP_TREELOG for metadata tree-log block group. And, it needs to check the space_info is the right one when a block group candidate is given. Also, new block group should now belong to the specified one. Now that, block_group->space_info is always set before btrfs_add_bg_to_space_info(), we no longer need to "find" the space_info. So, rename the variable name to address that as well. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions