Re: [PATCH 07/11] blkcg: make request_queue bypassing on allocation

From: Vivek Goyal
Date: Fri Apr 13 2012 - 16:44:59 EST


On Fri, Apr 13, 2012 at 01:37:26PM -0700, Tejun Heo wrote:

[..]
> blk_cleanup_queue() doesn't use blk_queue_bypass_start() to enter
> bypass mode.

Oh now elevator_exit() has been moved into blk_release_queue(). But
problem will still be there, isn't it? During driver init, most likely driver
is holding last reference of the queue and blk_release_queue() will be called
in the context of blk_cleanup_queue() causing the overhead?

Thanks
Vivek
--
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/