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 <ming.lei@xxxxxxxxxx> > Cc: Christoph Hellwig <hch@xxxxxx> > Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx> Reviewed-by: Ming Lei <ming.lei@xxxxxxxxxx> Thanks, Ming