blk-throttle: move bio_lists[] and friends to throtl_service_queue
authorTejun Heo <tj@kernel.org>
Tue, 14 May 2013 20:52:35 +0000 (13:52 -0700)
committerTejun Heo <tj@kernel.org>
Tue, 14 May 2013 20:52:35 +0000 (13:52 -0700)
commit73f0d49a9637a7ec3448a62a0042e35b14ba18a3
treee75b1d7c43d29dee8739ec5144d75e83998e3644
parent49a2f1e3f231f6b2ccfc8192f4c395de7fa910a1
blk-throttle: move bio_lists[] and friends to throtl_service_queue

throtl_service_queues will eventually form a tree which is anchored at
throtl_data->service_queue and queue bios will climb the tree to the
top service_queue to be executed.

This patch moves bio_lists[] and nr_queued[] from throtl_grp to its
service_queue to prepare for that.  As currently only the
throtl_data->service_queue is in use, this patch just ends up moving
throtl_grp->bio_lists[] and ->nr_queued[] to
throtl_grp->service_queue.bio_lists[] and ->nr_queued[] without making
any functional differences.

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