Thread (1 message) 1 message, 1 author, 2012-06-03

Re: container disk quota

From: Jeff Liu <hidden>
Date: 2012-06-03 06:02:33
Also in: cgroups, linux-fsdevel

On 06/03/2012 01:47 PM, Kirill Korotaev wrote:
On Jun 3, 2012, at 08:23 , Jeff Liu wrote:
quoted
Hi Kirill,

On 06/02/2012 11:21 PM, Kirill Korotaev wrote:
quoted
quoted
quoted
quoted
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help