From: RaTao <ratao@toxyn.org>
To: Daniel McNeil <daniel@osdl.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: Thu, 07 Aug 2003 02:55:45 +0100 [thread overview]
Message-ID: <3F31B1A1.7070402@toxyn.org> (raw)
In-Reply-To: <1060209414.1903.7.camel@ibm-c.pdx.osdl.net>
Hi Andrew, Daniel!
Just recompiled test2-mm4 and I tested it with:
time iozone -f hello.data -i 0 -s 50000 -r 1 -I
(-I enables O_DIRECT, I straced it and fopen has O_DIRECT flag)
and everything works great! My app is working too!! I can't understand
it but everything is fine, now.
I'm sorry for wasting your time :(
Thanks,
Ratao
Daniel McNeil wrote:
> 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/
>
>
> -
> 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/
>
next prev parent reply other threads:[~2003-08-07 1:53 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
2003-08-07 1:55 ` RaTao [this message]
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=3F31B1A1.7070402@toxyn.org \
--to=ratao@toxyn.org \
--cc=akpm@osdl.org \
--cc=daniel@osdl.org \
--cc=linux-kernel@vger.kernel.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