History

btrfs: add code to support the block group root

This code adds the on disk structures for the block group root, which will hold the block group items for extent tree v2.

Josef Bacik committed 4 years ago

Commit 9c54e801 parent bd676446 files · +75 −8Browse files

Showing the changes to include/uapi (1 of 6 files). Show all

Unified · Split

include/uapi/linux/btrfs_tree.h+3−0
@@ -53,6 +53,9 @@ · 52 unmodified lines
53/* tracks free space in block groups. */53/* tracks free space in block groups. */
54#define BTRFS_FREE_SPACE_TREE_OBJECTID 10ULL54#define BTRFS_FREE_SPACE_TREE_OBJECTID 10ULL
55 55
56/* Holds the block group items for extent tree v2. */
57#define BTRFS_BLOCK_GROUP_TREE_OBJECTID 11ULL
58
56/* device stats in the device tree */59/* device stats in the device tree */
57#define BTRFS_DEV_STATS_OBJECTID 0ULL60#define BTRFS_DEV_STATS_OBJECTID 0ULL
58 61