diff options
Diffstat (limited to 'block/cfq-iosched.c')
-rw-r--r-- | block/cfq-iosched.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c index 3d99e45789bd..f7364621613a 100644 --- a/block/cfq-iosched.c +++ b/block/cfq-iosched.c | |||
@@ -922,6 +922,12 @@ static inline struct cfq_group *cfqg_of_blkg(struct blkio_group *blkg) | |||
922 | return NULL; | 922 | return NULL; |
923 | } | 923 | } |
924 | 924 | ||
925 | void | ||
926 | cfq_update_blkio_group_weight(struct blkio_group *blkg, unsigned int weight) | ||
927 | { | ||
928 | cfqg_of_blkg(blkg)->weight = weight; | ||
929 | } | ||
930 | |||
925 | static struct cfq_group * | 931 | static struct cfq_group * |
926 | cfq_find_alloc_cfqg(struct cfq_data *cfqd, struct cgroup *cgroup, int create) | 932 | cfq_find_alloc_cfqg(struct cfq_data *cfqd, struct cgroup *cgroup, int create) |
927 | { | 933 | { |