You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by gi...@apache.org on 2018/06/19 06:37:13 UTC

[2/6] mesos git commit: Added `cgroups/all` into CHANGELOG and upgrades.md.

Added `cgroups/all` into CHANGELOG and upgrades.md.

Review: https://reviews.apache.org/r/67381/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/00ce78bd
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/00ce78bd
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/00ce78bd

Branch: refs/heads/master
Commit: 00ce78bd7074c343df52a212ff77baf31d20b4c1
Parents: 3150de7
Author: Qian Zhang <zh...@gmail.com>
Authored: Mon Jun 18 23:23:56 2018 -0700
Committer: Gilbert Song <so...@gmail.com>
Committed: Mon Jun 18 23:36:50 2018 -0700

----------------------------------------------------------------------
 CHANGELOG        | 6 ++++++
 docs/upgrades.md | 5 +++++
 2 files changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/00ce78bd/CHANGELOG
----------------------------------------------------------------------
diff --git a/CHANGELOG b/CHANGELOG
index 0c45af6..0e44277 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,12 @@ Release Notes - Mesos - Version 1.7.0 (WIP)
 -------------------------------------------
 This release contains the following new features:
 
+  * [MESOS-7691] - Added a new option `cgroups/all` to the agent flag
+    `--isolation`. This allows cgroups isolator to automatically load
+    all the local enabled cgroups subsystems. If this option is specified
+    in the agent flag `--isolation` along with other cgroups related
+    options (e.g., `cgroups/cpu`), those options will be just ignored.
+
   * [MESOS-8792] - Added a new `linux/devices` isolator that automatically
     populates containers with devices that have been whitelisted with the
     `--allowed_devices` agent flag.

http://git-wip-us.apache.org/repos/asf/mesos/blob/00ce78bd/docs/upgrades.md
----------------------------------------------------------------------
diff --git a/docs/upgrades.md b/docs/upgrades.md
index 18632ed..cc8a251 100644
--- a/docs/upgrades.md
+++ b/docs/upgrades.md
@@ -49,6 +49,7 @@ We categorize the changes as follows:
   <td style="word-wrap: break-word; overflow-wrap: break-word;"><!--Mesos Core-->
     <ul style="padding-left:10px;">
       <li>A <a href="#1-7-x-linux-devices-isolator">Linux devices isolator</a></li>
+      <li>A <a href="#1-7-x-auto-load-subsystems">Automatically load local enabled cgroups subsystems</a></li>
     </ul>
   </td>
 
@@ -445,6 +446,10 @@ We categorize the changes as follows:
   has been added to toggle whether the [`network/ports`](isolators/network-ports.md)
   isolator should enforce TCP ports usage limits.
 
+<a name="1-7-x-auto-load-subsystems"></a>
+
+* A new option `cgroups/all` has been added to the agent flag `--isolation`. This allows cgroups isolator to automatically load all the local enabled cgroups subsystems. If this option is specified in the agent flag `--isolation` along with other cgroups related options (e.g., `cgroups/cpu`), those options will be just ignored.
+
 <a name="1-7-x-container-logger"></a>
 
 * `ContainerLogger` module interface has been changed. The `prepare()` method now takes `ContainerID` and `ContainerConfig` instead.