diff options
author | Vivek Goyal <vgoyal@redhat.com> | 2009-12-03 12:59:47 -0500 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-12-03 13:28:52 -0500 |
commit | b1c3576961847da26c91b1e97f226bb66be5fa3f (patch) | |
tree | e228525220031232463f9cbbe017bad67807e6d4 /block/blk-cgroup.h | |
parent | 25fb5169d4c9d4255107abbb7c08ab712434efc8 (diff) |
blkio: Take care of cgroup deletion and cfq group reference counting
o One can choose to change elevator or delete a cgroup. Implement group
reference counting so that both elevator exit and cgroup deletion can
take place gracefully.
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Nauman Rafique <nauman@google.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/blk-cgroup.h')
-rw-r--r-- | block/blk-cgroup.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-cgroup.h b/block/blk-cgroup.h index ba5703f69b42..cd50a2f8733e 100644 --- a/block/blk-cgroup.h +++ b/block/blk-cgroup.h | |||
@@ -26,6 +26,7 @@ struct blkio_group { | |||
26 | /* An rcu protected unique identifier for the group */ | 26 | /* An rcu protected unique identifier for the group */ |
27 | void *key; | 27 | void *key; |
28 | struct hlist_node blkcg_node; | 28 | struct hlist_node blkcg_node; |
29 | unsigned short blkcg_id; | ||
29 | }; | 30 | }; |
30 | 31 | ||
31 | #define BLKIO_WEIGHT_MIN 100 | 32 | #define BLKIO_WEIGHT_MIN 100 |