aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/btrfs_tree.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2021-12-15 15:40:07 -0500
committerDavid Sterba <dsterba@suse.com>2022-03-14 13:13:48 +0100
commit9c54e80ddc6bd89596a4046d451908700476fd14 (patch)
tree7406cc32c6f47a3abd5c539121d21c4eb53a7f92 /include/uapi/linux/btrfs_tree.h
parentbtrfs: abstract out loading the tree root (diff)
downloadlinux-dev-9c54e80ddc6bd89596a4046d451908700476fd14.tar.xz
linux-dev-9c54e80ddc6bd89596a4046d451908700476fd14.zip
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. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/uapi/linux/btrfs_tree.h')
-rw-r--r--include/uapi/linux/btrfs_tree.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/btrfs_tree.h b/include/uapi/linux/btrfs_tree.h
index 5416f1f1a77a..b069752a8ecf 100644
--- a/include/uapi/linux/btrfs_tree.h
+++ b/include/uapi/linux/btrfs_tree.h
@@ -53,6 +53,9 @@
/* tracks free space in block groups. */
#define BTRFS_FREE_SPACE_TREE_OBJECTID 10ULL
+/* Holds the block group items for extent tree v2. */
+#define BTRFS_BLOCK_GROUP_TREE_OBJECTID 11ULL
+
/* device stats in the device tree */
#define BTRFS_DEV_STATS_OBJECTID 0ULL