[Top] [All Lists]

Re: Question about project quota with container

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: Question about project quota with container
From: Jeff Liu <jeff.liu@xxxxxxxxxx>
Date: Wed, 29 Feb 2012 15:21:39 +0800
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20120229083633.GA14241@xxxxxxxxxxxxx>
Organization: Oracle
References: <4F4D8413.4050709@xxxxxxxxxx> <20120229083633.GA14241@xxxxxxxxxxxxx>
Reply-to: jeff.liu@xxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20110617 Thunderbird/3.1.11
Hi Christoph,

Thanks for you prompt response!

On 02/29/2012 04:36 PM, Christoph Hellwig wrote:

>> I was wondering if other file system will also implement project quota
>> based on these two configuration files in the future? In other words, is
>> it a standard?
> The have been a few attempts at roughly similar quotas for ext4, but
> they were incompatible enough to not reuse any infrastructure like this.

>> Alternatively, maybe the project path and ID can be setup at cgroup
>> control files too, the following things could be implemented like
>> "xfsprogs/quota/edit.c", but I would put aside this idea for now.
> Assigning the project IDs in the cgroups code sounds fine to me.

Ok, I'll try it first.

> To make peoples life's easier it might be good idea to keep the
> /etc/projects and /etc/projid files uptodate even from that code.

To update these two files at cgroup is also fine to me.


> _______________________________________________
> xfs mailing list
> xfs@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/xfs

<Prev in Thread] Current Thread [Next in Thread>