diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-02 11:21:24 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-02 11:21:24 +0200 |
commit | a8c0f367142dcaa08e1d1aa8398207d4f762cef8 (patch) | |
tree | ab178c51603af8d647254a078ddf56e6a05616d6 /src/core/manager.h | |
parent | d18ec0491ed7c502080c03fa5fe93c8b6ac3d6ea (diff) | |
parent | efdb02375beb0a940c3320865572913780b4d7de (diff) |
Merge pull request #1116 from poettering/unified-rebased
core: unified cgroup hierarchy support
Diffstat (limited to 'src/core/manager.h')
-rw-r--r-- | src/core/manager.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/core/manager.h b/src/core/manager.h index 3f7fa24e58..9956cb7700 100644 --- a/src/core/manager.h +++ b/src/core/manager.h @@ -215,16 +215,22 @@ struct Manager { /* Data specific to the cgroup subsystem */ Hashmap *cgroup_unit; - CGroupControllerMask cgroup_supported; + CGroupMask cgroup_supported; char *cgroup_root; - int gc_marker; - unsigned n_in_gc_queue; + /* Notifications from cgroups, when the unified hierarchy is + * used is done via inotify. */ + int cgroup_inotify_fd; + sd_event_source *cgroup_inotify_event_source; + Hashmap *cgroup_inotify_wd_unit; /* Make sure the user cannot accidentally unmount our cgroup * file system */ int pin_cgroupfs_fd; + int gc_marker; + unsigned n_in_gc_queue; + /* Flags */ ManagerRunningAs running_as; ManagerExitCode exit_code:5; |