Thread (7 messages) 7 messages, 4 authors, 2022-06-16

Re: [PATCH v3 3/3] block: Make blk_mq_get_sq_hctx() select the proper hardware queue type

From: Ming Lei <hidden>
Date: 2022-06-16 01:37:52

On Wed, Jun 15, 2022 at 03:55:49PM -0700, Bart Van Assche wrote:
Since the introduction of blk_mq_get_hctx_type() the operation type in
the second argument of blk_mq_get_hctx_type() matters. The introduction
of blk_mq_get_hctx_type() caused blk_mq_get_sq_hctx() to select a
hardware queue of type HCTX_TYPE_READ instead of HCTX_TYPE_DEFAULT.
Switch to hardware queue type HCTX_TYPE_DEFAULT since HCTX_TYPE_READ
should only be used for read requests.

Cc: Ming Lei <redacted>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Ming Lei <redacted>


Thanks,
Ming
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help