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

From: Badari Pulavarty
Date: Fri Sep 19 2003 - 12:40:43 EST


On Friday 19 September 2003 09:57 am, Andrew Morton wrote:
> 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"?

I am getting different errors with database: ( I don't see these with my
"dd" tests)

(1) sometimes open fails with EFAULT
(2) sometimes read/write fails with EFAULT

I have been running on "raw" for quite a while, i haven't seen this before.
I moved my logdevice to filesystem files, everything is fine.

>
> > 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.

Okay. I will use -mm3.

Thanks,
Badari
-
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/