Re: Elastic Quota File System (EQFS)

Josh Boyer
2004-06-25T12:08:15Z

On Thu, 2004-06-24 at 19:15, Pavel Machek wrote:

> > A better option in this case is to reduce the default size of Mozilla's
> > cache or expand the size of the quota for each user to deal with the added
> > space requirements.
> >
> > If you are concerned about disk usage from caches, you can always create
> > a script that removes the cache(s) when the user logs out.
>
> That's not the right thing.. that way you loose caching effects around
> logins even when there's plenty of space.
>
> There's quite a lot of data -- at least on my systems -- that can be
> removed with "only" loss of performance...
>
> 1) browser caches
>
> 2) package lists, downloaded packages
>
> 3) object files
>
> heck, if you know you have reliable network connection 4), you could
> even mark stuff like /usr/bin/mozilla elastic, and re-install it from
> the network when it is needed... Doing anything more complex than 1)
> requires extensive changes all around the kernel and userland, and
> you'd probably not call that system unix any more.
>
> I'm not saying that "elastic" feature should go into 2.6 or 2.8 or
> whatever, but it still seems interesting to me.

Couldn't most of this be done in userspace with xattrs and a "elastic
quota" daemon? Mark such files as elastic with an xattr, and when space
is needed for user N, the daemon comes along and deletes the marked
files. You could even make the deamon semi-smart and take things such
as filesize, least recently used files, etc into account.

Or maybe I am missing something... wouldn't be the first time.

josh