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

From: Tejun Heo
Date: Mon Sep 10 2012 - 19:35:01 EST


Hello, Alasdair.

On Tue, Sep 11, 2012 at 12:09:17AM +0100, Alasdair G Kergon wrote:
> On Mon, Sep 10, 2012 at 04:01:01PM -0700, Tejun Heo wrote:
> > IIUC, Kent posted a patch which converts all of them to use front-pad
>
> The only patch I saw posted here only handles one of the easier cases so far.
>
> The others are a bit trickier and probably involve a decision about which way to
> change an in-kernel dm interface.

Ah, I see. Thought that was full conversion. I still think this is
the right direction to be headed tho. Using multiple mempools from
the stacking drivers is way too fragile and difficult to verify and
debug. Would it be difficult to convert dm drivers to collect size
requirements and use front-pad for all per-bio data?

Thanks.

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