On 5/13/21 11:15 AM, Bart Van Assche wrote: > If a tag set is shared across request queues (e.g. SCSI LUNs) then the > block layer core keeps track of the number of active request queues in > tags->active_queues. blk_mq_tag_busy() and blk_mq_tag_idle() update that > atomic counter if the hctx flag BLK_MQ_F_TAG_QUEUE_SHARED is set. Make > sure that blk_mq_exit_queue() calls blk_mq_tag_idle() before that flag is > cleared by blk_mq_del_queue_tag_set(). Applied, thanks. -- Jens Axboe