Re: [PATCH] ext3 barrier bits

From: Chris Mason
Date: Sat May 22 2004 - 14:16:38 EST


On Sat, 2004-05-22 at 04:33, Andrew Morton wrote:
> Arjan van de Ven <arjanv@xxxxxxxxxx> wrote:
> >
> >
> > > - Does the kernel tell you if your disk doesn't supoprt barriers? ie:
> > > how does the user know if it's working or not?
> >
> > ... and how do you know your disk isn't lying and ignoring the barriers?
> >
>
> If some benchmark slows down when barriers are enabled then that's a pretty
> good indicator. I don't know what benchmark that might be though.

synctest -t 20 -n 1 -f dir, should show a performance hit when barriers
are on.

-chris


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