[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] Re: Write barriers on MD RAID1
- From: "NeilBrown" <neilb suse de>
- To: "Neil Brown" <neilb suse de>, "device-mapper development" <dm-devel redhat com>, "Ken Milmore" <ken milmore googlemail com>, linux-raid vger kernel org, linux-kernel vger kernel org, "Jens Axboe" <jens axboe oracle com>, "Mikulas Patocka" <mpatocka redhat com>
- Cc:
- Subject: Re: [dm-devel] Re: Write barriers on MD RAID1
- Date: Wed, 24 Jun 2009 17:34:50 +1000 (EST)
On Wed, June 24, 2009 5:09 pm, Alasdair G Kergon wrote:
> 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);
>
I obviously didn't grep for the right thing.
This will obviously work, but I can't help thinking it is in the wrong
place. I don't even have a queue in md/raid1, so making a statement
about how it is ordered just doesn't make sense.
Jens?
NeilBrown
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]