diff options
author | 2013-05-14 13:52:34 -0700 | |
---|---|---|
committer | 2013-05-14 13:52:34 -0700 | |
commit | 49a2f1e3f231f6b2ccfc8192f4c395de7fa910a1 (patch) | |
tree | aa1f0a5ff403d778b5b97997cdaec361eb79a0b9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | blk-throttle: reorganize throtl_service_queue passed around as argument (diff) | |
download | linux-dev-49a2f1e3f231f6b2ccfc8192f4c395de7fa910a1.tar.xz linux-dev-49a2f1e3f231f6b2ccfc8192f4c395de7fa910a1.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions