Re: [dm-devel] Re: Write barriers on MD RAID1

From: Alasdair G Kergon
Date: Wed Jun 24 2009 - 03:09:38 EST


On Wed, Jun 24, 2009 at 01:43:35PM +1000, Neil Brown wrote:
> Since this test was added, barriers have not worked on md, and (I
> think) dm and similar devices that don't use __make_request and so
> don't bother to set next_ordered.

In dm, we added this:

+ blk_queue_ordered(md->queue, QUEUE_ORDERED_DRAIN, NULL);

Alasdair

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