Robert Watson <[EMAIL PROTECTED]> wrote:
The cost to check for free space is the cost of a fstatfs() system call on the file descriptor of the log file. This should be handled without touching the disk, so while it's not a cheap system call compared to, say, getpid(), as it acquires locks and enters VFS, it's a lot cheaper than any disk I/O operation. Optional is good, if only because sometimes people do actually want logging to fill the disk, and that's been the behavior historically :-).
Do you know if a kqueue based solution is cheaper? Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 For every complex problem, there is a solution that is simple, neat, and wrong. -- H. L. Mencken _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"