--=_courier-10593-1045092874-0001-2
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
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:
>=20
> > ext2.
>=20
> are you able to test with another fs? (reiserfs and XFS also support
> O_DIRECT)
Unfortunately not, I just have ext2 partitions here...
>=20
> > read(3, "", 4096) =3D 0
>=20
> odd... I'm not sure why you get this
>=20
> i tested locally here and it works as expected ... my test code is
> appended.
But your code doesn't use O_DIRECT:
if ((h =3D open("test", O_RDONLY)) < 0)
Let me know whether including O_DIRECT the test worked.
Bruno.
>=20
>=20
> --cw
--=20
Bruno Diniz de Paula <diniz@cs.rutgers.edu>
Rutgers University
--=_courier-10593-1045092874-0001-2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Transfer-Encoding: 7bit
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQA+StnCZGORSF4wrt8RAho6AJ9cxXo1655hzblbTW8dlmxCi2na9ACfTb3U
lMy9515KmJCQEOd8B3wjIYY=
=opNm
-----END PGP SIGNATURE-----
--=_courier-10593-1045092874-0001-2--