We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65ed1e6 commit 6f5dddeCopy full SHA for 6f5ddde
block/blk-cgroup.c
@@ -1182,10 +1182,6 @@ int blkcg_init_queue(struct request_queue *q)
1182
if (preloaded)
1183
radix_tree_preload_end();
1184
1185
- ret = blk_iolatency_init(q);
1186
- if (ret)
1187
- goto err_destroy_all;
1188
-
1189
ret = blk_ioprio_init(q);
1190
if (ret)
1191
goto err_destroy_all;
@@ -1194,6 +1190,12 @@ int blkcg_init_queue(struct request_queue *q)
1194
1195
1196
1192
1193
+ ret = blk_iolatency_init(q);
+ if (ret) {
+ blk_throtl_exit(q);
+ goto err_destroy_all;
1197
+ }
1198
+
1199
return 0;
1200
1201
err_destroy_all:
0 commit comments