public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* O_DIRECT broken in stock 2.4.13
@ 2001-11-14 14:18 Terje Eggestad
  2001-11-14 20:50 ` Chris Wright
  0 siblings, 1 reply; 3+ messages in thread
From: Terje Eggestad @ 2001-11-14 14:18 UTC (permalink / raw)
  To: linux-kernel

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 

TJ 

-- 
_________________________________________________________________________

Terje Eggestad                  terje.eggestad@scali.no
Scali Scalable Linux Systems    http://www.scali.com

Olaf Helsets Vei 6              tel:    +47 22 62 89 61 (OFFICE)
P.O.Box 70 Bogerud                      +47 975 31 574  (MOBILE)
N-0621 Oslo                     fax:    +47 22 62 89 51
NORWAY            
_________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: O_DIRECT broken in stock 2.4.13
  2001-11-14 14:18 O_DIRECT broken in stock 2.4.13 Terje Eggestad
@ 2001-11-14 20:50 ` Chris Wright
  2001-11-15  3:03   ` Andrea Arcangeli
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Wright @ 2001-11-14 20:50 UTC (permalink / raw)
  To: Terje Eggestad; +Cc: linux-kernel

* 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.

cheers,
-chris

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: O_DIRECT broken in stock 2.4.13
  2001-11-14 20:50 ` Chris Wright
@ 2001-11-15  3:03   ` Andrea Arcangeli
  0 siblings, 0 replies; 3+ messages in thread
From: Andrea Arcangeli @ 2001-11-15  3:03 UTC (permalink / raw)
  To: Terje Eggestad, linux-kernel; +Cc: Marcelo Tosatti, Linus Torvalds

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-11-15  3:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-14 14:18 O_DIRECT broken in stock 2.4.13 Terje Eggestad
2001-11-14 20:50 ` Chris Wright
2001-11-15  3:03   ` Andrea Arcangeli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox