Commit b26d7914 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: BTREE_ID_subvolume_children



Add a btree to record a parent -> child subvolume relationships,
according to the filesystem heirarchy.

The subvolume_children btree is a bitset btree: if a bit is set at pos
p, that means p.offset is a child of subvolume p.inode.

This will be used for efficiently listing subvolumes, as well as
recursive deletion.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent b8628a25
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment