----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45350/#review127938 -----------------------------------------------------------
Intead of adding a new flag, I think we should just rely on `--isolation` flag. For instance, if the operator specify `--isolation=cgroups/cpu,cgroups/memory`, we will use the cgroup isolator with cgroups_subsystems: cpu and memory. I think this patch should be the last patch in the chain so that we can have more thorough testing before flipping the switch to use the unified cgroup isolator. - Jie Yu On April 7, 2016, 10:40 a.m., haosdent huang wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/45350/ > ----------------------------------------------------------- > > (Updated April 7, 2016, 10:40 a.m.) > > > Review request for mesos, Gilbert Song, Guangya Liu, Ian Downes, Jie Yu, > Kevin Klues, and Neil Conway. > > > Bugs: MESOS-5040 > https://issues.apache.org/jira/browse/MESOS-5040 > > > Repository: mesos > > > Description > ------- > > Add `--cgroups_subsystems` in agent flags. > > > Diffs > ----- > > docs/configuration.md 309a5a05eab386c8943ba6bdee8d5efeb448aa0c > src/slave/flags.hpp 4236b7fe40b9aa26d57b651be06a0e36037f65c6 > src/slave/flags.cpp 7164afef9c82a9bba0f137d7387c3569912b6599 > > Diff: https://reviews.apache.org/r/45350/diff/ > > > Testing > ------- > > > Thanks, > > haosdent huang > >