Re: 2.4 has O_SYNC bug ?

From: wind@cocodriloo.com
Date: Sat Mar 22 2003 - 16:05:35 EST


On Sat, Mar 22, 2003 at 02:37:53PM -0500, Doug McNaught wrote:
> Rob van Nieuwkerk <robn@verdi.et.tudelft.nl> writes:
>
> > But the strange thing is this: always after 30s the kernel performs
> > extra writes to the CF. It seems it's flushing some kind of dirty buffer
> > from the buffer cache. But there is not supposed to be any dirty buffer:
> > all data should have been written already to the CF because the partition
> > was opened with O_SYNC !
>
> noatime?
>
> -Doug

As he stated he was using no filesystem, but a treating the partition as
a raw file, I suppose it can't be atime-refreshing... perhaps using
O_DIRECT will solve it?

Greets, Antonio.

[sorry for double response Doug, I forgot to reply to list earlier]

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



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:42 EST