Re: [PATCH block/for-3.3/core] block: an exiting task should beallowed to create io_context

From: Tejun Heo
Date: Tue Jan 03 2012 - 17:35:18 EST


On Tue, Jan 03, 2012 at 02:13:01PM -0800, Tejun Heo wrote:
> > That's pretty odd. Given Hughs report as well, it sure does sound like
> > we now have some life time issues with cfqq's.
>
> Hmmm... I disabled cfqq merge logic (commented out
> cfq_close_cooperator() and the following cfq_setup_merge() calls) in
> cfq_select_queue() and neither is triggering for quite a while now.
> Maybe cfqq refcnt is getting borked over cfqq merging / splitting? It
> would also explain the low frequency of the issue too. I'll try to
> further isolate it but It would be awesome if someone more familiar
> with the logic can go over that part.

Scrap that. It triggered and yeah cfq_get_next_queue() is retrieving
empty cfqq from the service tree.

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/