aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-05-14 13:52:34 -0700
committerMoyster <oysterized@gmail.com>2016-09-18 12:46:14 +0200
commit9a9dd824a4f14b652574eadcdfd7e0d959bbfe57 (patch)
tree2d53e0ec4c625f6118164361fc452f728d60131c /scripts
parent32b91f68666c1889802457d3d8bf87658ca2cdb1 (diff)
blk-throttle: add throtl_grp->service_queue
Currently, there's single service_queue per queue - throtl_data->service_queue. All active throtl_grp's are queued on the queue and dispatched according to their limits. To support hierarchy, this will be expanded such that active throtl_grp's form a tree anchored at throtl_data->service_queue and chained through each intermediate throtl_grp's service_queue. This patch adds throtl_grp->service_queue to prepare for hierarchy support. The initialization function - throtl_service_queue_init() - is added and replaces the macro initializer. The newly added tg->service_queue isn't used yet. Following patches will do. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Vivek Goyal <vgoyal@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions