linux/block
Tejun Heo 6d18b008da blkcg: shoot down blkgs if all policies are deactivated
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>
2012-04-20 10:06:06 +02:00
..
partitions
blk-cgroup.c blkcg: shoot down blkgs if all policies are deactivated 2012-04-20 10:06:06 +02:00
blk-cgroup.h blkcg: drop stuff unused after per-queue policy activation update 2012-04-20 10:06:06 +02:00
blk-core.c blkcg: make request_queue bypassing on allocation 2012-04-20 10:06:06 +02:00
blk-exec.c
blk-flush.c
blk-integrity.c
blk-ioc.c Merge branch 'for-3.5' of ../cgroup into block/for-3.5/core-merged 2012-04-01 12:55:00 -07:00
blk-iopoll.c
blk-lib.c
blk-map.c
blk-merge.c
blk-settings.c
blk-softirq.c
blk-sysfs.c blkcg: unify blkg's for blkcg policies 2012-03-06 21:27:23 +01:00
blk-tag.c
blk-throttle.c blkcg: drop stuff unused after per-queue policy activation update 2012-04-20 10:06:06 +02:00
blk-timeout.c
blk.h Merge branch 'for-3.5' of ../cgroup into block/for-3.5/core-merged 2012-04-01 12:55:00 -07:00
bsg-lib.c
bsg.c
cfq-iosched.c blkcg: drop stuff unused after per-queue policy activation update 2012-04-20 10:06:06 +02:00
compat_ioctl.c
deadline-iosched.c elevator: make elevator_init_fn() return 0/-errno 2012-03-06 21:27:21 +01:00
elevator.c blkcg: implement per-queue policy activation 2012-04-20 10:06:06 +02:00
genhd.c Block: use a freezable workqueue for disk-event polling 2012-03-02 10:51:00 +01:00
ioctl.c
Kconfig
Kconfig.iosched blkcg: make CONFIG_BLK_CGROUP bool 2012-03-06 21:27:21 +01:00
Makefile
noop-iosched.c elevator: make elevator_init_fn() return 0/-errno 2012-03-06 21:27:21 +01:00
partition-generic.c
scsi_ioctl.c