diff options
author | Ming Lei <ming.lei@redhat.com> | 2022-04-26 10:49:36 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-05-02 10:06:40 -0600 |
commit | 285d5731a0cb2dd3a12ddf34d67be4e4965e64da (patch) | |
tree | 1132f142e61689b661ec43eaa095ec711d7a08fa /block/blk-core.c | |
parent | 09df6a75fffa68169c5ef9bef990cd7ba94f3eef (diff) |
Revert "block: release rq qos structures for queue without disk"
This reverts commit daaca3522a8e67c46e39ef09c1d542e866f85f3b.
Commit daaca3522a8e ("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>
Diffstat (limited to 'block/blk-core.c')
-rw-r--r-- | block/blk-core.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/block/blk-core.c b/block/blk-core.c index 937bb6b86331..bc0506772152 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -50,7 +50,6 @@ #include "blk-pm.h" #include "blk-cgroup.h" #include "blk-throttle.h" -#include "blk-rq-qos.h" struct dentry *blk_debugfs_root; @@ -315,9 +314,6 @@ void blk_cleanup_queue(struct request_queue *q) */ blk_freeze_queue(q); - /* cleanup rq qos structures for queue without disk */ - rq_qos_exit(q); - blk_queue_flag_set(QUEUE_FLAG_DEAD, q); blk_sync_queue(q); |