Re: [PATCH 01/11] blk-mq: Add blk_mq_init_queue_ops()

From: Christoph Hellwig
Date: Tue Mar 22 2022 - 07:18:57 EST


On Tue, Mar 22, 2022 at 06:39:35PM +0800, John Garry wrote:
> Add an API to allocate a request queue which accepts a custom set of
> blk_mq_ops for that request queue.
>
> The reason which we may want custom ops is for queuing requests which we
> don't want to go through the normal queuing path.

Eww. I really do not think we should do separate ops per queue, as that
is going to get us into a deep mess eventually.