Re: O_DIRECT broken in stock 2.4.13

Andrea Arcangeli
2001-11-15T03:04:31Z

On Wed, Nov 14, 2001 at 12:50:48PM -0800, Chris Wright wrote:
> * Terje Eggestad (terje.eggestad@scali.no) wrote:
> > Hi
> >
> > open( , O_DIRECT) succeds, fcntl set and unset of the O_DIRECT flag is
> > ok, but I get buffered writes anyway.
> >
> > This works in 2.4.10
>
> iirc, this was disabled shortly after 2.4.10 (like 2.4.11-pre1 or 2).
> i believe the flag is still valid, however, i think the direct_io internals
> were removed.

Yes, I fixed it in my tree.

ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.15pre1aa1/00_o_direct-4

Please Linus or Marcelo apply the above patch to the kernel.

Andrea