Re: fsync on large files

Damien Miller (dmiller@ilogic.com.au)
Mon, 15 Feb 1999 10:10:30 +1100 (EST)


On Sat, 13 Feb 1999, Theodore Y. Ts'o wrote:

> Hmm. That's an interesting problem. This is the first time someone's
> called it to my attention that syslog was calling fsync() all the time,
> and obviously this causes a problem if there's a lot of syslogging going
> on and the log files are large.

Pardon my ignorance, but is there any reason that syslog cannot open
its logfiles with O_SYNC?

Regards,
Damien

--
| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller - http://www.ilogic.com.au/~dmiller
| Email: dmiller@ilogic.com.au (home) -or- damien@ibs.com.au (work)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/