diff options
author | Tejun Heo <tj@kernel.org> | 2012-04-16 16:57:25 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-04-20 04:06:17 -0400 |
commit | 3c798398e393e5f9502dbab2b51e6c25e2e8f2ac (patch) | |
tree | d6f638e6a25dec4887e64bcc35b98bc394cb974f /include/linux/blkdev.h | |
parent | 36558c8a30e121f97b5852ae33e28081af21bdbf (diff) |
blkcg: mass rename of blkcg API
During the recent blkcg cleanup, most of blkcg API has changed to such
extent that mass renaming wouldn't cause any noticeable pain. Take
the chance and cleanup the naming.
* Rename blkio_cgroup to blkcg.
* Drop blkio / blkiocg prefixes and consistently use blkcg.
* Rename blkio_group to blkcg_gq, which is consistent with io_cq but
keep the blkg prefix / variable name.
* Rename policy method type and field names to signify they're dealing
with policy data.
* Rename blkio_policy_type to blkcg_policy.
This patch doesn't cause any functional change.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 68720ab275d4..af33fb1adfee 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -31,7 +31,7 @@ struct blk_trace; | |||
31 | struct request; | 31 | struct request; |
32 | struct sg_io_hdr; | 32 | struct sg_io_hdr; |
33 | struct bsg_job; | 33 | struct bsg_job; |
34 | struct blkio_group; | 34 | struct blkcg_gq; |
35 | 35 | ||
36 | #define BLKDEV_MIN_RQ 4 | 36 | #define BLKDEV_MIN_RQ 4 |
37 | #define BLKDEV_MAX_RQ 128 /* Default maximum */ | 37 | #define BLKDEV_MAX_RQ 128 /* Default maximum */ |
@@ -371,7 +371,7 @@ struct request_queue { | |||
371 | struct list_head icq_list; | 371 | struct list_head icq_list; |
372 | #ifdef CONFIG_BLK_CGROUP | 372 | #ifdef CONFIG_BLK_CGROUP |
373 | DECLARE_BITMAP (blkcg_pols, BLKCG_MAX_POLS); | 373 | DECLARE_BITMAP (blkcg_pols, BLKCG_MAX_POLS); |
374 | struct blkio_group *root_blkg; | 374 | struct blkcg_gq *root_blkg; |
375 | struct list_head blkg_list; | 375 | struct list_head blkg_list; |
376 | #endif | 376 | #endif |
377 | 377 | ||