Re: fsync on large files

Billy Harvey (info@RhinoEngineering.com)
Sat, 13 Feb 1999 12:13:20 -0500 (EST)


David Feuer writes:
> Billy Harvey wrote:
> > Why not modify the log rotation scripts to run on an hourly basis, and
> > throw away those older than <insert preference here>? This should be
> > fairly painless, and a quick fix.
>
> What does log rotation have to do with syncing?
> If I were really concerned about logs, I'd log to a printer ;).

Well, the printer comment is valid, but certainly could eat up some
paper. What a great DoS attack that could make :)

My understanding of the fsync() problem is that it takes excessively
long with large files. Whatever the reason for that, it should be
avoidable by never letting the files get large.

Billy

-- 
info@RhinoEngineering.com

- 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/