All of lore.kernel.org
 help / color / mirror / Atom feed
* QGroups Semantics
@ 2017-05-19  9:07 Sargun Dhillon
  2017-05-22  0:59 ` Qu Wenruo
  0 siblings, 1 reply; 6+ messages in thread
From: Sargun Dhillon @ 2017-05-19  9:07 UTC (permalink / raw)
  To: BTRFS ML

I have some questions about the *intended* qgroups semantics, and why
we allow certain operations:

1) Why can you create a level 0 qgroup for a non-existent subvolume?
It looks like it just gets reset when you create the subvol anyway?
Should we prevent this?

2) Why do we allow deleting a level 0 qgroup for a currently existing
subvolume? It seems to me that just setting the limit to 0, and/or
removing relations would work equally well? Perhaps a new ioctl to
clear the qgroup would make sense to do this.

3) Why don't we remove the associated level 0 qgroup when you remove
the subvol with that id?

4) I noticed in qgroup.c, one of the outstanding items is to determine
how to autocleanup. Are there any stated semantics around that, or
opinions?

PS:
If the answer to any of these is "it just needs to be worked on" --
I'm currently poking around this code path for some enhancements we're
doing for our usecase. I'm just trying to figure out how much of what
I'm doing is generalizable.

-Thanks,
Sargun

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-05-23  7:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-19  9:07 QGroups Semantics Sargun Dhillon
2017-05-22  0:59 ` Qu Wenruo
2017-05-22 20:54   ` Sargun Dhillon
2017-05-23  1:23     ` Qu Wenruo
2017-05-23  5:38     ` Marat Khalili
2017-05-23  7:38       ` Marat Khalili

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.