[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [leafnode-list] writeactive() not updating mtime?
Stefan Wiens <s.wi@xxxxxxx> writes:
> > What do you try to fix or work around here? Your kernel bug?
>
> OK, I may have misinterpreted something.
>
> So, could you explain what is really happening there?
>
> I also found the groupinfo content completely unchanged after posting
> an article while fetchnews was running, although its mtime indicated
> it had been written to.
>
> Was that really caused by a bug in Linux 2.2.17?
I have no clue, however, you don't need fsync() to bring buffers back in
order. Reading back just-written but unflushed buffers does not require
fsync(). fsync() is not useful in anyway for a news server (you might
want to use it before acknowledging a POST).
--
Matthias Andree
--
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list