diff options
| author | Tejun Heo <tj@kernel.org> | 2013-05-14 13:52:37 -0700 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-09-18 12:46:22 +0200 |
| commit | 477a8d60108105ed6090e83da31fb23c29b0f155 (patch) | |
| tree | ba2f1c0862f464f6ebc869a8b98d8505ada8ed6f /include/clocksource | |
| parent | 99ebe3c110c77ede2acc27ac29b0b914ba2b19b6 (diff) | |
blk-throttle: make blk_throtl_drain() ready for hierarchy
The current blk_throtl_drain() assumes that all active throtl_grps are
queued on throtl_data->service_queue, which won't be true once
hierarchy support is implemented.
This patch makes blk_throtl_drain() perform post-order walk of the
blkg hierarchy draining each associated throtl_grp, which guarantees
that all bios will eventually be pushed to the top-level service_queue
in throtl_data.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Diffstat (limited to 'include/clocksource')
0 files changed, 0 insertions, 0 deletions
