tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How PUFFS should deal with EDQUOT?



Antti Kantee <pooka%iki.fi@localhost> wrote:

> I'd guess the key to success would be to support genfs_ops in puffs so
> that the file server is consulted about block allocations.

You mean gop_alloc() ? Is it documented somewhere? That would ease its
implementation.

If I understand correctly, that would be called when the kernel is going
to need a new block for a file, and here the filesystem could say ENOSPC
or EDQUOT before the data goes into the cache, right?

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost



Home | Main Index | Thread Index | Old Index