[f20-branch][rhel7-branch] handle nested btrfs subvolumes

David Lehman dlehman at redhat.com
Fri Nov 15 15:00:54 UTC 2013


Subvolumes are nested, which means that the long-standing rule that
only leaf devices can be mounted (or used as swap) does not apply.
This patch handles the case of a user deleting the foo subvolume when
the foo/bar/baz subvolume is still around. Previously, we let this
happen and then there was a crash when we tried to make the change
using the btrfs tools. Now the user will confirm that they wish to
remove any subvolumes, snapshots, &c and we will account for them
correctly, preventing any disagreement with the btrfs tools.



More information about the anaconda-patches mailing list