From: Andrew Morton <akpm@zip.com.au>
To: Andreas Dilger <adilger@clusterfs.com>
Cc: Roy Sigurd Karlsbakk <roy@karlsbakk.net>,
Kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: O_DIRECT support in ext3?
Date: Tue, 13 Aug 2002 14:00:21 -0700 [thread overview]
Message-ID: <3D597365.AF376528@zip.com.au> (raw)
In-Reply-To: 20020813172705.GG9642@clusterfs.com
Andreas Dilger wrote:
>
> On Aug 13, 2002 15:48 +0200, Roy Sigurd Karlsbakk wrote:
> > playing around with O_DIRECT, I really _can't_ make it work on ext3?
> >
> > why is this?
>
> Because O_DIRECT needs a specific o_direct I/O method that has not yet
> been written for ext3. I believe only ext2 and reiserfs support it
> right now. I will eventually need to add support for this, but it is
> not yet high on my list of priorities. Maybe someone else will beat
> me to it.
Yes, we need to get it up and running for 2.5. It should be relatively
straightforward. It'll need an ext3_get_blocks_for_o_direct() which
does a journal_start/stop if create=1.
And maybe some fancy footwork around invalidating existing pagecache in
ext3_file_write(), but the current code looks to be OK actually.
It shouldn't be a big deal; mainly testing.
prev parent reply other threads:[~2002-08-13 20:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-13 13:48 O_DIRECT support in ext3? Roy Sigurd Karlsbakk
2002-08-13 17:27 ` Andreas Dilger
2002-08-13 21:00 ` Andrew Morton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D597365.AF376528@zip.com.au \
--to=akpm@zip.com.au \
--cc=adilger@clusterfs.com \
--cc=linux-kernel@vger.kernel.org \
--cc=roy@karlsbakk.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox