Re: [PATCH] backing dev unplugging

From: Miquel van Smoorenburg
Date: Wed Mar 10 2004 - 16:48:29 EST

In article <20040310210207.GL15087@xxxxxxx>,
Jens Axboe <axboe@xxxxxxx> wrote:
>On Wed, Mar 10 2004, Andrew Morton wrote:
>> Jens Axboe <axboe@xxxxxxx> wrote:
>> >
>> > Here's a first cut at killing global plugging of block devices to reduce
>> > the nasty contention blk_plug_lock caused.
>> Shouldn't we take read_lock(&md->map_lock) in dm_table_unplug_all()?
>Ugh yes, we certainly should.

With the latest patches from Joe it would be more like

map = dm_get_table(md);
if (map) {

No lock ranking issues, you just get a refcounted map (table, really).


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at