summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-05-14 20:52:36 (GMT)
committerTejun Heo <tj@kernel.org>2013-05-14 20:52:36 (GMT)
commit77216b0484817817a18aaa6b089dffe49070f7c1 (patch)
tree58228fd8ca266bf0437a8bf9ad052645a1c6ac88 /tools
parent0e9f4164ba915052918a77ecb2a59822dbfd661c (diff)
downloadlinux-fsl-qoriq-77216b0484817817a18aaa6b089dffe49070f7c1.tar.xz
blk-throttle: add throtl_service_queue->parent_sq
To prepare for hierarchy support, this patch adds throtl_service_queue->service_sq which points to the arent service_queue. Currently, for all service_queues embedded in throtl_grps, it points to throtl_data->service_queue. As throtl_data->service_queue doesn't have a parent its parent_sq is set to NULL. There are a number of functions which take both throtl_grp *tg and throtl_service_queue *parent_sq. With this patch, the parent service_queue can be determined from @tg and the @parent_sq arguments are removed. This patch doesn't make any behavior differences. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Vivek Goyal <vgoyal@redhat.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions