Re: [PATCH v7 9/9] block: Avoid deadlocks with bio allocation bystacking drivers

From: Kent Overstreet
Date: Tue Sep 04 2012 - 15:43:46 EST


On Tue, Sep 04, 2012 at 12:01:19PM -0700, Tejun Heo wrote:
> On Tue, Sep 04, 2012 at 11:55:40AM -0700, Tejun Heo wrote:
> > Actually, if the timer approach can reduce the frequency of rescuer
> > involvement, I think it could actually be better.
>
> Ooh, it wouldn't. It's kicking in only after alloc failure. I don't
> know. I think conditioning it on alloc failure is cleaner and
> converting all per-bio allocations to front-pad makes sense. Using a
> timer wouldn't make the mechanism any simpler, right?

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