Skip to content

Commit

Permalink
Merge branch 'remote' into hybrid-5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
NoelMacwan committed Oct 9, 2015
2 parents 162eca6 + ce78d48 commit d12158e
Show file tree
Hide file tree
Showing 5 changed files with 510 additions and 149 deletions.
6 changes: 6 additions & 0 deletions block/bfq-cgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ static inline void bfq_group_init_entity(struct bfqio_cgroup *bgrp,
entity->new_weight = bfq_ioprio_to_weight(bgrp->ioprio);
entity->new_ioprio = bgrp->ioprio;
} else {
if (bgrp->weight < BFQ_MIN_WEIGHT ||
bgrp->weight > BFQ_MAX_WEIGHT) {
printk(KERN_CRIT "bfq_group_init_entity: "
"bgrp->weight %d\n", bgrp->weight);
BUG();
}
entity->new_weight = bgrp->weight;
entity->new_ioprio = bfq_weight_to_ioprio(bgrp->weight);
}
Expand Down
Loading

0 comments on commit d12158e

Please sign in to comment.