cvs commit: src/usr.sbin/syslogd syslogd.c
Alexander Leidinger
Alexander at Leidinger.net
Fri Mar 31 12:33:05 UTC 2006
Robert Watson <rwatson at FreeBSD.org> 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
More information about the cvs-src
mailing list