mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
blkio: Take care of cgroup deletion and cfq group reference counting
o One can choose to change elevator or delete a cgroup. Implement group reference counting so that both elevator exit and cgroup deletion can take place gracefully. Signed-off-by: Vivek Goyal <[email protected]> Signed-off-by: Nauman Rafique <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
25fb5169d4
commit
b1c3576961
3 changed files with 160 additions and 2 deletions
|
|
@ -26,6 +26,7 @@ struct blkio_group {
|
|||
/* An rcu protected unique identifier for the group */
|
||||
void *key;
|
||||
struct hlist_node blkcg_node;
|
||||
unsigned short blkcg_id;
|
||||
};
|
||||
|
||||
#define BLKIO_WEIGHT_MIN 100
|
||||
|
|
|
|||
Loading…
Reference in a new issue