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

From: Björn Steinbrink (bjoern.steinbrink_at_isp4p.net)
Date: Tue 09 Nov 2004 - 17:20:16 GMT


On Tue, 9 Nov 2004 12:01:33 -0500 (EST)
"Gregory (Grisha) Trubetskoy" <grisha_at_ispol.com> 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?

I don't see any reason why it should behave like that, would only cause
trouble. Example:
xid 10 is limited to 500MB and has 300MB in use.
xid 0 deletes some 50MB file.
Now there are files worth 250MB, but still the kernel assumes that 300MB
are in use.

Where's the sense behind that? You would have to adapt the usage
statistics every now and then.

Bjoern
_______________________________________________
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 - 17:20:20 GMT by hypermail 2.1.3