Re: linux-2.6.0-linux-kernel@vger.kernel.orgtest2-mm4 O_DIRECT

From: Andrew Morton (akpm@osdl.org)
Date: Wed Aug 06 2003 - 14:17:59 EST


RaTao <ratao@toxyn.org> wrote:
>
>
> Hi!
>
> While testing linux-2.6.0-test2-mm4 I noticed two things:
>
> - O_DIRECT doesn't work, at least in ext3, with block size different
> from filesystem's blocksize. (It doesn't work with 512 bs, at least).
> This works in 2.6.0-test2, from 512 to 4096.

It works OK here.

> - vmstat doesn't show bi/bo for O_DIRECT's disk access.

It does here.

I'd be suspecting your test app: is it checking the return value of all
syscalls?
-
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/



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:34 EST