lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 03 Jun 2012 14:02:33 +0800
From:	Jeff Liu <jeff.liu@...cle.com>
To:	Kirill Korotaev <dev@...allels.com>
CC:	Serge Hallyn <serge.hallyn@...onical.com>,
	"tytso@....edu" <tytso@....edu>,
	"tinguely@....com" <tinguely@....com>,
	"containers@...ts.linux-foundation.org" 
	<containers@...ts.linux-foundation.org>,
	"david@...morbit.com" <david@...morbit.com>,
	"cgroups@...r.kernel.org" <cgroups@...r.kernel.org>,
	"hch@...radead.org" <hch@...radead.org>,
	"bpm@....com" <bpm@....com>,
	"christopher.jones@...cle.com" <christopher.jones@...cle.com>,
	"linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>,
	Jan Kara <jack@...e.cz>, "tm@....ma" <tm@....ma>,
	"linux-ext4@...r.kernel.org" <linux-ext4@...r.kernel.org>,
	"chris.mason@...cle.com" <chris.mason@...cle.com>
Subject: Re: container disk quota

On 06/03/2012 01:47 PM, Kirill Korotaev wrote:

> 
> 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.

This idea is come from by Glauber's comments for my previous patches
which bind quota to cgroup, and per my try out, it really works to some
extents.

> It sounds as too strict use case limitation. Or do I understand your patchset description wrong?

According to my understood, bind quota to mount namespace is another
quota strategy, and container is a potential user case, maybe could be
used for other things.

I certainly will study openVZ's quota code.

Thanks,
-Jeff

> 
> Thanks,
> Kirill
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ