public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* O_DIRECT fails in some kernel and FS
@ 2002-02-01 20:37 Ricardo Galli
  2002-02-01 20:44 ` Andrew Morton
  0 siblings, 1 reply; 32+ messages in thread
From: Ricardo Galli @ 2002-02-01 20:37 UTC (permalink / raw)
  To: linux-kernel

After some comments from Oliver Diedrich (editor of heise.de), which told me 
he couldn't make O_DIRECT work on 2.4.17, I tried with different versions and 
file systems:

This is the result:

2.4.14 - Ext[23] - redhat7.2 glibs: OK (at least the bytes are written)
2.4.17 - ReiserFS - Debian Sid    : FAILS (0 bytes file, write returns -1)
2.4.17 - Ext2 - Debian Woody      : OK (bytes written)
2.4.17 - Ext3 - Debian Woody      : FAILS (0 bytes file, write returns -1)

Oliver Diedrich also told he could make work O_DIRECT with ext3 and 2.4.17. 

Is this normal? Does it really work on 2.4.14? Or it doesn't but the kernel 
doesn't avoid caching?

Funny behaviour...

Regards,

-- 
  ricardo
"I just stopped using Windows and now you tell me to use Mirrors?" 
    - said Aunt Tillie, just before downloading 2.5.3 kernel.

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

end of thread, other threads:[~2002-02-04 19:17 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E16WkQj-0005By-00@antoli.uib.es.suse.lists.linux.kernel>
     [not found] ` <3C5AFE2D.95A3C02E@zip.com.au.suse.lists.linux.kernel>
     [not found]   ` <1012597538.26363.443.camel@jen.americas.sgi.com.suse.lists.linux.kernel>
     [not found]     ` <20020202093554.GA7207@tapu.f00f.org.suse.lists.linux.kernel>
     [not found]       ` <234710000.1012674008@tiny.suse.lists.linux.kernel>
     [not found]         ` <20020202205438.D3807@athlon.random.suse.lists.linux.kernel>
     [not found]           ` <242700000.1012680610@tiny.suse.lists.linux.kernel>
     [not found]             ` <3C5C4929.5080403@sgi.com.suse.lists.linux.kernel>
     [not found]               ` <20020202155028.B26147@havoc.gtf.org.suse.lists.linux.kernel>
2002-02-03  7:26                 ` O_DIRECT fails in some kernel and FS Andi Kleen
2002-02-04 15:13                   ` Jeff Garzik
2002-02-04 15:31                     ` Chris Mason
2002-02-01 20:37 Ricardo Galli
2002-02-01 20:44 ` Andrew Morton
2002-02-01 20:49   ` Ricardo Galli
2002-02-01 20:57     ` Andrew Morton
2002-02-01 21:05   ` Steve Lord
2002-02-02  9:35     ` Chris Wedgwood
2002-02-02 10:25       ` Hans Reiser
2002-02-02 15:24       ` Chris Mason
2002-02-02 18:20       ` Chris Mason
2002-02-02 19:54         ` Andrea Arcangeli
2002-02-02 20:10           ` Chris Mason
2002-02-02 20:16             ` Stephen Lord
2002-02-02 20:50               ` Jeff Garzik
2002-02-03 13:40                 ` Stephen Lord
2002-02-03 14:09                   ` Chris Wedgwood
2002-02-03 15:05                     ` Stephen Lord
2002-02-03 22:44                       ` Chris Wedgwood
2002-02-04 15:04                         ` Jeff Garzik
2002-02-04 15:21                           ` Chris Mason
2002-02-04 15:15                         ` Steve Lord
2002-02-04 15:46                           ` Alan Cox
2002-02-04 16:02                             ` Steve Lord
2002-02-04 18:22                               ` Daniel Phillips
2002-02-04 19:11                                 ` Steve Lord
2002-02-04 18:29                             ` Joel Becker
2002-02-04 18:49                               ` Jeff Garzik
2002-02-04 18:55                                 ` Joel Becker
2002-02-04 19:16                                   ` Jeff Garzik
2002-02-02 17:14   ` Christoph Hellwig

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