diff options
author | Tejun Heo | 2013-01-09 08:05:10 -0800 |
---|---|---|
committer | Tejun Heo | 2013-01-09 08:05:10 -0800 |
commit | 86cde6b62313dd221c2e5935db02de7234cb4164 (patch) | |
tree | 879485988325bb8d97882cac82056bff434b000e /Documentation | |
parent | 356d2e581032b686da0854c7f17de2027c872762 (diff) |
blkcg: reorganize blkg_lookup_create() and friends
Reorganize such that
* __blkg_lookup() takes bool param @update_hint to determine whether
to update hint.
* __blkg_lookup_create() no longer performs lookup before trying to
create. Renamed to blkg_create().
* blkg_lookup_create() now performs lookup and then invokes
blkg_create() if lookup fails.
* root_blkg creation in blkcg_activate_policy() updated accordingly.
Note that blkcg_activate_policy() no longer updates lookup hint if
root_blkg already exists.
Except for the last lookup hint bit which is immaterial, this is pure
reorganization and doesn't introduce any visible behavior change.
This is to prepare for proper hierarchy support.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions