Please sign in to comment.
Fix several critical cgroups bugs
This commit contains the following important bug fixes related to the cgroup support in BFQ (and in particular, to the integration with the blkio controller), plus an improvement. These changes entail also the transition from v7r10 to v7r11. BUGFIX Remove the group_list data structure, which ended up in an inconsistent state if BFQ happened to be activated for some device when some blkio groups already existed (these groups where not added to the list). The blkg list for the request queue is now used where the removed group_list was used. BUGFIX Init and reset also dead_stats. BUGFIX Added, in __bfq_deactivate_entity, the correct handling of the case where the entity to deactivate has not yet been activated at all. BUGFIX Added missing free of the root group for the case where full hierarchical support is not activated. IMPROVEMENT Removed the now useless bfq_disconnect_groups function. The same functionality is achieved through multiple invocations of bfq_pd_offline (which are in their turn guaranteed to be executed, when needed, by the blk-cgroups code).
- Loading branch information...
Showing with 39 additions and 73 deletions.