Re: [PATCH] ide barrier support, #2

From: Jens Axboe
Date: Tue Oct 14 2003 - 10:33:57 EST


On Tue, Oct 14 2003, Andi Kleen wrote:
> > See the patch, WRITESYNC is used solely internally in raid1.
> > WRITEBARRIER is a bitmask of BIO_RW and BIO_RW_BARRIER and that is what
> > you want. I'll make that more clear. Writes will not be reordered around
> > the barrier either, btw.
>
> It would be still misnamed. I want a flush and not a barrier.

Don't you still require previously submitted writes to have hit platter
before your flush goes down?

> Anyways, when you apply the patch just change the cmd that what
> you think is right.

I did :)

--
Jens Axboe

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