Re: Elastic Quota File System (EQFS)

From: Pavel Machek
Date: Fri Jun 25 2004 - 16:38:45 EST


Hi!

> >This sounds like a hack to get around a badly designed system with too
> I do believe that this system can be done in userspace, but it has its
> own flaws then. Suppose theres a daemon, call it eqfsd. It forks parent
> listens a char device, child watches the disk space usage. A kernel
> module reports the file deletes, chowns to the char device, parent does
> the needfull. Child 'periodically' checks that the threshold is not
> reached. Here what can be done is suppose a user can transfer data with
> say 5 Mbps speed to his account....then we can easily get the
> minimum

I believe I can write data at 1GB/sec at common hardware (~RAM
speed). You'll either need a *lot* of free space, or very fast
polling, and it will still break when the daemon is swapped out, when
scheduler decides writer is more important etc.
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/