blk-throttle: pass around throtl_service_queue instead of throtl_data
authorTejun Heo <tj@kernel.org>
Tue, 14 May 2013 20:52:33 +0000 (13:52 -0700)
committerTejun Heo <tj@kernel.org>
Tue, 14 May 2013 20:52:33 +0000 (13:52 -0700)
commite2d57e60195a65e2f161ac1229ec9c91935e0240
tree768bddc4827b2f9165b3a4b9e24dc0811fad07e6
parent0f3457f60edc57332bf6564fa00d561a4372dcb9
blk-throttle: pass around throtl_service_queue instead of throtl_data

throtl_service_queue will be used as the basic block to implement
hierarchy support.  Pass around throtl_service_queue *sq instead of
throtl_data *td in the following functions which will be used across
multiple levels of hierarchy.

* [__]throtl_enqueue/dequeue_tg()

* throtl_add_bio_tg()

* tg_update_disptime()

* throtl_select_dispatch()

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
block/blk-throttle.c