Revert "block: don't drain in-progress dispatch in blk_cleanup_queue()"
hulk inclusion
category: bugfix
bugzilla: 20127
CVE: NA
-------------------------------------------------
This reverts commit cba577a1b9d763f6a02b7800c8b27d293b28a8a4.
Commit fbc2a15e3433 ("blk-mq: move cancel of requeue_work into
blk_mq_release") introduce that blk_mq_kick_requeue_list can be called
after blk_sync_queue in blk_cleanup_queue. And the "quiesce" state can
avoid requeue work reuse the structure has been released in blk_exit_queue.
Signed-off-by: Nyangerkun <yangerkun@huawei.com>
Reviewed-by: Nzhengbin <zhengbin13@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录