Commit aa451a5
blk-cgroup: remove queue frozen from blkcg_activate_policy()
On the one hand, nest q_usage_counter under rq_qos_mutex is wrong;
On the other hand, policy activation is now all under queue frozen:
- for bfq queue is frozen from elevator_change();
- for blk-throttle, iocost, iolatency, queue is frozen from
blkg_conf_open_bdev_frozen(&ctx);
Signed-off-by: Yu Kuai <[email protected]>
Reviewed-by: Nilay Shroff <[email protected]>1 parent c9512ea commit aa451a5
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1580 | 1580 | | |
1581 | 1581 | | |
1582 | 1582 | | |
1583 | | - | |
1584 | 1583 | | |
1585 | 1584 | | |
1586 | 1585 | | |
1587 | 1586 | | |
1588 | 1587 | | |
| 1588 | + | |
| 1589 | + | |
1589 | 1590 | | |
1590 | 1591 | | |
1591 | 1592 | | |
| |||
1594 | 1595 | | |
1595 | 1596 | | |
1596 | 1597 | | |
1597 | | - | |
1598 | | - | |
1599 | 1598 | | |
1600 | 1599 | | |
1601 | 1600 | | |
| |||
1658 | 1657 | | |
1659 | 1658 | | |
1660 | 1659 | | |
1661 | | - | |
1662 | | - | |
1663 | 1660 | | |
1664 | 1661 | | |
1665 | 1662 | | |
| |||
0 commit comments