Re: open(.. O_DIRECT ..) difference in between Linux and FreeBSD ..

From: Rob van Nieuwkerk (robn@verdi.et.tudelft.nl)
Date: Fri Jun 13 2003 - 03:27:52 EST


Arjan van de Ven wrote:
> On Fri, Jun 13, 2003 at 01:12:57AM +0200, Rob van Nieuwkerk wrote:
> > FYI:
> > It appears that somewhere between RH kernels 2.4.18-27.7.x and 2.4.20-18.9
> > something has changed so that my application needs a O_SYNC too besides
> > the O_DIRECT to make sure that writes will be synchronous. If I leave
> > the O_SYNC out with 2.4.20-18.9 the write will happen physically 35
> > seconds after the write() was done.
>
> O_DIRECT is nothing but a hint and the 2.4.20-18.9 kernel decides to not
> honor it

Hi Arjan,

Do you mean that the 2.4.20-18.9 kernel always ignores the O_DIRECT flag ?

        greetings,
        Rob van Nieuwkerk
-
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 Jun 15 2003 - 22:00:35 EST