Jan Harkes <[EMAIL PROTECTED]> writes:
> That is because we don't intercept write calls in the kernel module.
> When you copy a file into /coda, the only thing venus gets to see is,
>
> CREATE file
> (creates a 0-length file, no problem here)
>
> OPEN file for writing
> (sure, we hand a reference to the file to the kernel module)
>
> cp program writes, and writes, and writes
>
> CLOSE file
> (OMG we exceeded the available cache space)
It would be cool if venus somehow communicated a size limit to the
kernel (set by server admin?), and the kernel write call had a hook to
check that, and send E2BIG or something to the process when a too-big
write happened. (I don't mean pushing the write calls through venus,
just in-kernel size checking on write.)
--
Greg Troxel <[EMAIL PROTECTED]>