Repository: mesos Updated Branches: refs/heads/master df5b2cfc1 -> e95dda149
Add an optional container rootfs for MesosContainerizer. This is in preparation for supporting different root filesystems for containers using the MesosContainerizer. Review: https://reviews.apache.org/r/30628/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e95dda14 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/e95dda14 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/e95dda14 Branch: refs/heads/master Commit: e95dda1491cbb20bac72af925205d7a837dd851f Parents: df5b2cf Author: Ian Downes <[email protected]> Authored: Wed Feb 4 10:04:22 2015 -0800 Committer: Ian Downes <[email protected]> Committed: Wed Feb 4 14:13:13 2015 -0800 ---------------------------------------------------------------------- src/slave/containerizer/mesos/containerizer.hpp | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/e95dda14/src/slave/containerizer/mesos/containerizer.hpp ---------------------------------------------------------------------- diff --git a/src/slave/containerizer/mesos/containerizer.hpp b/src/slave/containerizer/mesos/containerizer.hpp index 802988c..569119f 100644 --- a/src/slave/containerizer/mesos/containerizer.hpp +++ b/src/slave/containerizer/mesos/containerizer.hpp @@ -256,6 +256,10 @@ private: // ResourceStatistics limits in usage(). Resources resources; + // The path to the container's rootfs, if full filesystem + // isolation is used. + Option<std::string> rootfs; + State state; };
