Re: [PATCH] backing dev unplugging

From: Andrew Morton
Date: Wed Mar 10 2004 - 16:05:15 EST


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()?

If so, what are the lock ranking issues here? The queue lock is not held
yet, so it seems pretty simple?
-
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/