linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniel McNeil <daniel@osdl.org>
To: RaTao <ratao@toxyn.org>
Cc: Andrew Morton <akpm@osdl.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: linux-2.6.0-test2-mm4 O_DIRECT
Date: 06 Aug 2003 15:36:54 -0700	[thread overview]
Message-ID: <1060209414.1903.7.camel@ibm-c.pdx.osdl.net> (raw)
In-Reply-To: <3F3173D5.8000705@toxyn.org>

O_DIRECT also works for me on ext3 using regular write and async i/o
using 512-byte i/o.

Is your buffer alignment correct?
O_DIRECT requires a 512-byte aligned buffer.

Daniel
On Wed, 2003-08-06 at 14:32, RaTao wrote:
> Hi!
> 
> I've correct my (don't know how) misspelled subject :)
> 
> Andrew Morton wrote:
> 
> [..snip..]
> > 
> > 
> > It works OK here.
> > 
> > 
> >>- vmstat doesn't show bi/bo for O_DIRECT's disk access.
> > 
> > 
> > It does here.
> > 
> 
> Maybe goofed somewhere. I can't test it again today, I'll do it tomorrow.
> 
> 
> > 
> > I'd be suspecting your test app: is it checking the return value of all
> > syscalls?
> 
> I'll double check.
> Thanks,
> 
> Ratao
> 
> 
> 
> -
> 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/


  reply	other threads:[~2003-08-06 22:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-06  9:52 linux-2.6.0-linux-kernel@vger.kernel.orgtest2-mm4 O_DIRECT RaTao
2003-08-06 19:17 ` Andrew Morton
2003-08-06 21:32   ` linux-2.6.0-test2-mm4 O_DIRECT RaTao
2003-08-06 22:36     ` Daniel McNeil [this message]
2003-08-07  1:55       ` RaTao
2003-08-07  2:18         ` 2.6.0-test2, compact flash, IDE, and kobject errors J.C. Wren
2003-08-07  2:38           ` Bartlomiej Zolnierkiewicz

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=1060209414.1903.7.camel@ibm-c.pdx.osdl.net \
    --to=daniel@osdl.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ratao@toxyn.org \
    /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;
as well as URLs for NNTP newsgroup(s).