Re: [PATCH] blk: do rq_qos_exit in blk_cleanup_queue

From: Jens Axboe
Date: Wed Feb 16 2022 - 21:41:00 EST


On Wed, 16 Feb 2022 19:32:12 +0800, Wang Jianchao (Kuaishou) wrote:
> From: Wang Jianchao <wangjianchao@xxxxxxxxxxxx>
>
> When __alloc_disk_node() failed, there will not not del_gendisk()
> any more, then resource in rqos policies is leaked. Add rq_qos_exit()
> into blk_cleanup_queue(). rqos is removed from the list, so needn't
> to worry .exit is called twice.
>
> [...]

Applied, thanks!

[1/1] blk: do rq_qos_exit in blk_cleanup_queue
commit: 20d41d9e993735b996175d087148d9de1fc94ac0

Best regards,
--
Jens Axboe