git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c96cb3
)
blkcg: shoot down blkgs if all policies are deactivated
author
Tejun Heo
<tj@kernel.org>
Fri, 13 Apr 2012 20:11:35 +0000
(13:11 -0700)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 20 Apr 2012 08:06:06 +0000
(10:06 +0200)
There's no reason to keep blkgs around if no policy is activated for
the queue. This patch moves queue locking out of blkg_destroy_all()
and call it from blkg_deactivate_policy() on deactivation of the last
policy on the queue.
This change was suggested by Vivek.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.c
patch
|
blob
|
history
diff --cc
block/blk-cgroup.c
Simple merge