Re: qgroup destroy / assign

2014-07-07 Thread Kevin Brandstatter
Wang, Yes that certainly helps me make more sense of it. I was able to get the qgroup assigning to work properly. I guess the next question would be if it would be a valid feature to implement automatic qgroup deletion when a subvolume is destroyed. I suppose in order to help alleviate issues with

Re: qgroup destroy / assign

2014-07-06 Thread Wang Shilong
Hi Kevin, On 07/05/2014 05:10 AM, Kevin Brandstatter wrote: how are qgroups accounted for? Are they specifially tied to one subvolume on creation? Qgroup implementation is aslo a little confusing for me at first:-) . Yes, a qgroup is created automatically tied to one subvolume on creation with

qgroup destroy / assign

2014-07-04 Thread Kevin Brandstatter
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.s