-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/32495/
-----------------------------------------------------------

(Updated March 25, 2015, 9:12 p.m.)


Review request for mesos, Ben Mahler and Ian Downes.


Bugs: MESOS-2548
    https://issues.apache.org/jira/browse/MESOS-2548


Repository: mesos


Description (updated)
-------

Fixed a regression caused by multiple cgroups base hierarchy detection.

The previous way of getting base hierarchy is not reliable in the case of 
cgroup co-mounts and symlinks (e.g. systemd). For example, you may see the 
following layout:
```
/sys/fs/cgroup/cpu,cpuacct
/sys/fs/cgroup/cpu -> /sys/fs/cgroup/cpu,cpuacct
/sys/fs/cgroup/cpuacct -> /sys/fs/cgroup/cpu,cpuacct
```

For subsystem 'cpuacct', the current code will report the base hierarchy to be 
'/sys/fs/cgroup/cpu,'.


Diffs
-----

  src/tests/mesos.cpp dc2a906a57b9abace4713aea8b0a47fec1c1a8a4 

Diff: https://reviews.apache.org/r/32495/diff/


Testing
-------

sudo make check


Thanks,

Jie Yu

Reply via email to