Re: [PATCH] blk-mq: Swap two calls in blk_mq_exit_queue()

From
Jens Axboe <axboe@kernel.dk>
Date
2021-05-14 14:59:48
Reply to
Bart Van Assche, 2021-05-13
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
Thread (3 messages) 3 messages, 3 authors, last reply 2021-05-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help