• Kent Overstreet's avatar
    bcachefs: BTREE_ID_subvolume_children · b26d7914
    Kent Overstreet authored
    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>
    b26d7914
bcachefs_format.h 40.7 KB