About this list Date view Thread view Subject view Author view Attachment view

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Tue 09 Nov 2004 - 18:32:17 GMT


On Tue, Nov 09, 2004 at 12:01:33PM -0500, Gregory (Grisha) Trubetskoy wrote:
>
> On Tue, 9 Nov 2004, Herbert Poetzl wrote:
>
> >On Tue, Nov 09, 2004 at 10:55:43AM -0500, Gregory (Grisha) Trubetskoy
> >wrote:
> >
> >>Related to this - why is xid tagging required for per-context disk limits?
> >
> >a simple example:
> >
> >context xid=100 creates a 10MB file, the size is added
> >to xid=100's disk usage, then the host admin decides to
> >remove it with rm, how should the kernel know that the
> >size should be substracted from xid=100's disk usage?
>
> I see. But how about if it doesn't, i.e. the size adjustment is solely
> based on the context from which the operation is performed?

yes, that is an option too, but you have some drawbacks
there (but basically that is what the runtime tagging will
do, once I implement it)

 - you must not modify any files from a different context
   including the host context

 - you can not use unified files (those have to belong
   to the host context)

best,
Herbert

> Thanks!
>
> Grisha
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 09 Nov 2004 - 18:32:29 GMT by hypermail 2.1.3