hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/block/blk-cgroup.c
....@@ -1376,6 +1376,10 @@
13761376 list_for_each_entry_reverse(blkg, &q->blkg_list, q_node)
13771377 pol->pd_init_fn(blkg->pd[pol->plid]);
13781378
1379
+ if (pol->pd_online_fn)
1380
+ list_for_each_entry_reverse(blkg, &q->blkg_list, q_node)
1381
+ pol->pd_online_fn(blkg->pd[pol->plid]);
1382
+
13791383 __set_bit(pol->plid, q->blkcg_pols);
13801384 ret = 0;
13811385
....@@ -1790,6 +1794,7 @@
17901794 current->use_memdelay = use_memdelay;
17911795 set_notify_resume(current);
17921796 }
1797
+EXPORT_SYMBOL_GPL(blkcg_schedule_throttle);
17931798
17941799 /**
17951800 * blkcg_add_delay - add delay to this blkg