[dm-devel] [PATCH 01/11] blk-mq: Add blk_mq_init_queue_ops()
Bart Van Assche
bvanassche at acm.org
Wed Mar 23 02:57:27 UTC 2022
On 3/22/22 03:39, 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.
Custom ops shouldn't be required for this. See e.g. how tmf_queue
is used in the UFS driver for an example of a queue implementation
with custom operations and that does not require changes of the block
layer core.
Thanks,
Bart.
More information about the dm-devel
mailing list