Re: O_DIRECT write to file by block-aligned, block-multiple buf fails?

From: Andrew Morton (akpm@digeo.com)
Date: Thu May 15 2003 - 01:21:59 EST


Andreas Dilger <adilger@clusterfs.com> wrote:
>
> On May 15, 2003 01:33 -0400, Scott McDermott wrote:
> > This should mean I can write aligned pages with direct IO, right?
> >
> > write: Invalid argument
> >
> > $ grep /tmp /proc/mounts
> > /dev/hda5 /mnt/tmp ext3 rw 0 0
>
> ext3 does not support O_DIRECT in 2.4 yet.
>

It does if you apply

ftp://ftp.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.21rc2aa1/10_ext3-o_direct-2
-
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 May 15 2003 - 22:00:55 EST