From: Kirill Korotaev Subject: Re: container disk quota Date: Sun, 3 Jun 2012 09:47:56 +0400 Message-ID: <81DE9C10-649B-4D13-86B0-200944AE8767@parallels.com> References: <1338389946-13711-1-git-send-email-jeff.liu@oracle.com> <20120601155457.GA30909@quack.suse.cz> <20120601160421.GA17402@amd1> <4FC9ABBB.3050303@oracle.com> <01FED15D-15A3-4542-B95B-1166F0A309E6@parallels.com> <4FC9B183.10605@oracle.com> <8660DDAA-D7A7-4C03-8CBB-9DB7E94C80CB@parallels.com> <4FCAE6CB.8060208@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Jan Kara , "tytso-3s7WtUTddSA@public.gmane.org" , "tinguely-sJ/iWh9BUns@public.gmane.org" , "containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org" , "david-FqsqvQoI3Ljby3iVrkZq2A@public.gmane.org" , "hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org" , "bpm-sJ/iWh9BUns@public.gmane.org" , "christopher.jones-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org" , "linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "tm-d1IQDZat3X0@public.gmane.org" , "linux-ext4-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "chris.mason-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org" To: "jeff.liu-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org" Return-path: In-Reply-To: <4FCAE6CB.8060208-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org> Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org List-Id: linux-ext4.vger.kernel.org On Jun 3, 2012, at 08:23 , Jeff Liu wrote: > Hi Kirill, > > On 06/02/2012 11:21 PM, Kirill Korotaev wrote: > >>>>>> >>>>>> Not having looked closely at the original patchset, let me ask - is this >>>>>> feature going to be a freebie with Eric's usernamespace patches? >>>>> >>>>> It we can reach a consensus to bind quota on mount namespace for >>>>> container or other things maybe. >>>> >>>> 1. OpenVZ doesn't use mount namespaces and still has quotas per container. >>> >>> AFAICS, OpenVZ has self-released quota tools to supply this feature. >> >> but standard quota tools work inside container w/o any modifications. >> This is very important for us, cause we run unmodified distros inside. > > Yes, am agree. > I can work out a new patches regarding quota tools based on mount namespace w/o any modification. Jeff, why do you need fs namespace for quotas? OpenVZ works w/o it. It sounds as too strict use case limitation. Or do I understand your patchset description wrong? Thanks, Kirill