-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/51031/
-----------------------------------------------------------
(Updated Oct. 20, 2016, 2:26 a.m.)
Review request for mesos, Gilbert Song, Jie Yu, Qian Zhang, and Zhengju Sha.
Changes
-------
Address @yan's comments.
Bugs: MESOS-6035
https://issues.apache.org/jira/browse/MESOS-6035
Repository: mesos
Description
-------
In most cases, we just want to get the children cgroups instead of
retrieve descendant cgroups recursively. We added an argument to
`cgroups::get` to indicate whether retrieve cgroups recursively and
make non-recursive retrieve become the default behaviour. This patch
fixed some incorrect `TEST_CGROUPS_ROOT` checks as well.
Diffs (updated)
-----
src/linux/cgroups.hpp cfce09cb57501f2c988a8d997d7c6150280ed53d
src/linux/cgroups.cpp 1475c8eb848ece2a093e8243b51e9ce08981dd7d
src/tests/containerizer/cgroups_tests.cpp
0afaec6ae948cabf1472bf01103210d8f9809cb1
src/tests/mesos.cpp 2aae160fb941ab3672a5665ae27f517ff40600e2
Diff: https://reviews.apache.org/r/51031/diff/
Testing
-------
Thanks,
haosdent huang