On Wed, 2003-02-12 at 18:24, Chris Wedgwood wrote:
> On Wed, Feb 12, 2003 at 06:02:58PM -0500, Bruno Diniz de Paula wrote:
>
> > ext2.
>
> are you able to test with another fs? (reiserfs and XFS also support
> O_DIRECT)
Unfortunately not, I just have ext2 partitions here...
>
> > read(3, "", 4096) = 0
>
> odd... I'm not sure why you get this
>
> i tested locally here and it works as expected ... my test code is
> appended.
But your code doesn't use O_DIRECT:
if ((h = open("test", O_RDONLY)) < 0)
Let me know whether including O_DIRECT the test worked.
Bruno.
>
>
> --cw
-- Bruno Diniz de Paula <diniz@cs.rutgers.edu> Rutgers University
- 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 : Sat Feb 15 2003 - 22:00:45 EST