aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-throttle.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/blk-throttle.c')
-rw-r--r--block/blk-throttle.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/block/blk-throttle.c b/block/blk-throttle.c
index 2ae637b9e80c..791b10719e43 100644
--- a/block/blk-throttle.c
+++ b/block/blk-throttle.c
@@ -196,10 +196,10 @@ static struct blkio_group *throtl_alloc_blkio_group(struct request_queue *q,
196 bio_list_init(&tg->bio_lists[1]); 196 bio_list_init(&tg->bio_lists[1]);
197 tg->limits_changed = false; 197 tg->limits_changed = false;
198 198
199 tg->bps[READ] = blkcg_get_read_bps(blkcg, tg->blkg.dev); 199 tg->bps[READ] = -1;
200 tg->bps[WRITE] = blkcg_get_write_bps(blkcg, tg->blkg.dev); 200 tg->bps[WRITE] = -1;
201 tg->iops[READ] = blkcg_get_read_iops(blkcg, tg->blkg.dev); 201 tg->iops[READ] = -1;
202 tg->iops[WRITE] = blkcg_get_write_iops(blkcg, tg->blkg.dev); 202 tg->iops[WRITE] = -1;
203 203
204 /* 204 /*
205 * Take the initial reference that will be released on destroy 205 * Take the initial reference that will be released on destroy