Re: [dm-devel] [PATCH v7 9/9] block: Avoid deadlocks with bioallocation by stacking drivers

From: Alasdair G Kergon
Date: Wed Aug 29 2012 - 12:58:04 EST


On Wed, Aug 29, 2012 at 09:50:06AM -0700, Kent Overstreet wrote:
> The other thing we could do is make the rescuer thread per block device
> (which arguably makes more sense than per bio_set anyways), then
> associate bio_sets with specific block devices/rescuers.

For dm, it's equivalent - already one bioset required per live device:
dm_alloc_md_mempools().

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/