Skip to content

Commit 285d573

Browse files
Ming Leiaxboe
authored andcommitted
Revert "block: release rq qos structures for queue without disk"
This reverts commit daaca35. Commit daaca35 ("block: release rq qos structures for queue without disk") is only needed for v5.15~v5.17, and isn't needed for v5.18, so revert it. Signed-off-by: Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/20220426024936.3321341-1-ming.lei@redhat.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 09df6a7 commit 285d573

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

block/blk-core.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
#include "blk-pm.h"
5151
#include "blk-cgroup.h"
5252
#include "blk-throttle.h"
53-
#include "blk-rq-qos.h"
5453

5554
struct dentry *blk_debugfs_root;
5655

@@ -315,9 +314,6 @@ void blk_cleanup_queue(struct request_queue *q)
315314
*/
316315
blk_freeze_queue(q);
317316

318-
/* cleanup rq qos structures for queue without disk */
319-
rq_qos_exit(q);
320-
321317
blk_queue_flag_set(QUEUE_FLAG_DEAD, q);
322318

323319
blk_sync_queue(q);

0 commit comments

Comments
 (0)