how are qgroups accounted for? Are they specifially tied to one
subvolume on creation?
If so, is it possible to auto delete relavant qgroups on deletion of the
subvolume?
also, how exactly does qgroup assign work? I havent been able to get it
to work at all.
in btrfsprogs cmds-cgroup.c
if ((args.src >> 48) >= (args.dst >> 48)) {
fprintf(stderr, "ERROR: bad relation requested '%s'\n",
path);
return 1;
}
always seems to fail. I tried creating another qgroup id 1000, and
assigning it to as sub, and vice versa, as well as assigning the sub to
the root, and vice versa, as well as one subvol to another.
The fixme comment leads me to believe that the src should be a path not
a qgroup ("FIXME src should accept subvol path")
but the progs let me create a qgroup without a subvol, which makes sense
if you want to be able to have some meta-qgroup for a bunch of subvols.
Further on noticing that a sub create also creates a qgroup with the
same id as the subvol, it would seem that the qgroup is tied to the
subvol via this shared id.
-Kevin Brandstatter
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs"
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html