Re: use O_DIRECT open file, when read will hang.

From: Andrew Morton
Date: Fri Sep 19 2003 - 11:57:40 EST


Badari Pulavarty <pbadari@xxxxxxxxxx> wrote:
>
> I am also seeing some kind of regression on raw in 2.6.0-test5-mm2.

What is "some kind of regression"?

> Unfortunately, this happens only with huge database benchmarks.
> I still haven't narrowed it down.

Use mm3 - it has fixes. Daniel McNeil reports that mm3 fixes the dbt2
problems he was seeing.

>
> - can I do fsx, rawiobench on NFS files to test DIO on NFS ?

Probably, but it will deadlock immediately.

All the i_sem and i_alloc_sem rework needs to be pushed down to the
blockdev_direct_IO level. That means reverting
O_DIRECT-race-fixes-fixes-2.patch first.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/