Re: [RFC] Subvolume Quota on-disk structures and configuration

2011-12-01 Thread Arne Jansen
On 26.11.2011 05:14, Phillip Susi wrote: > On 07/10/2011 04:21 AM, Arne Jansen wrote: >> Now that I've got a working prototype of subvolume quota, I'd like >> to get some feedback on the on-disk structure and the commands I >> intend to use. > > I think I've noticed a bug so far, and have one comm

Re: [RFC] Subvolume Quota on-disk structures and configuration

2011-11-25 Thread Phillip Susi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/10/2011 04:21 AM, Arne Jansen wrote: > Now that I've got a working prototype of subvolume quota, I'd like > to get some feedback on the on-disk structure and the commands I > intend to use. I think I've noticed a bug so far, and have one comment

Re: [RFC] Subvolume Quota on-disk structures and configuration

2011-11-22 Thread Hugo Mills
On Tue, Nov 22, 2011 at 10:04:05AM -0500, Phillip Susi wrote: > On 11/21/2011 3:15 PM, Arne Jansen wrote: > >>I can rebase it to the current for-linus and push it out later today. > >> > > > >git://git.kernel.org/pub/scm/linux/kernel/git/arne/linux-btrfs.git qgroups > > > >just waiting for the repl

Re: [RFC] Subvolume Quota on-disk structures and configuration

2011-11-22 Thread Phillip Susi
On 11/21/2011 3:15 PM, Arne Jansen wrote: I can rebase it to the current for-linus and push it out later today. git://git.kernel.org/pub/scm/linux/kernel/git/arne/linux-btrfs.git qgroups just waiting for the replication to the mirrors... What about the btrfs-progs changes to add the command

Re: [RFC] Subvolume Quota on-disk structures and configuration

2011-11-21 Thread Arne Jansen
[I accidentally failed to include the list in the previous reply] On 11/21/2011 07:51 PM, Arne Jansen wrote: > On 11/21/2011 07:29 PM, Phillip Susi wrote: >> On 11/21/2011 12:20 PM, Arne Jansen wrote: >>> On 11/21/2011 05:06 PM, Phillip Susi wrote: On 7/10/2011 4:21 AM, Arne Jansen wrote: >>>

Re: [RFC] Subvolume Quota on-disk structures and configuration

2011-11-21 Thread Phillip Susi
On 11/21/2011 12:20 PM, Arne Jansen wrote: On 11/21/2011 05:06 PM, Phillip Susi wrote: On 7/10/2011 4:21 AM, Arne Jansen wrote: btrfs qgroup limit [--exclusive]|none btrfs qgroup limit 10g /usr That should be simple enough for the common use case. Wouldn't that make the syntax above actu

Re: [RFC] Subvolume Quota on-disk structures and configuration

2011-11-21 Thread Arne Jansen
On 11/21/2011 05:06 PM, Phillip Susi wrote: > On 7/10/2011 4:21 AM, Arne Jansen wrote: >> btrfs qgroup limit [--exclusive] |none >> >> >> btrfs qgroup limit 10g /usr >> >> That should be simple enough for the common use case. > > Wouldn't that make the syntax above actually be: > > btrfs qgroup

Re: [RFC] Subvolume Quota on-disk structures and configuration

2011-11-21 Thread Phillip Susi
On 7/10/2011 4:21 AM, Arne Jansen wrote: btrfs qgroup limit [--exclusive] |none This sets actual limits on a qgroup. If --exclusive is given, the exclusive usage is limited instead of the referenced. I don't know if there are use cases where both values need a (possibly different) limit. mean

Re: [RFC] Subvolume Quota on-disk structures and configuration

2011-08-24 Thread Arne Jansen
On 24.08.2011 09:26, Yeh wrote: > Arne Jansen gmx.net> writes: > >> >> These 4 commands are used to build hierarchical qgroups and are only >> for advanced users. I'll explain more of the concepts in a later >> paper. >> >> The main point here is that in the simplest case, a user creates a >> fil

Re: [RFC] Subvolume Quota on-disk structures and configuration

2011-08-24 Thread Yeh
Arne Jansen gmx.net> writes: > > These 4 commands are used to build hierarchical qgroups and are only > for advanced users. I'll explain more of the concepts in a later > paper. > > The main point here is that in the simplest case, a user creates a > filesystem with initial quota support, creat

[RFC] Subvolume Quota on-disk structures and configuration

2011-07-10 Thread Arne Jansen
Now that I've got a working prototype of subvolume quota, I'd like to get some feedback on the on-disk structure and the commands I intend to use. As a short name, I propose qgroups, as the most distinguishing feature of this implementation is that you can not only put a quota on sub- volumes, but