[lxc-devel] [lxc/lxc] 457ca9: cgfsng: defer to cgfs if needed subsystems are not...

GitHub noreply at github.com
Fri Apr 8 21:52:27 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 457ca9aa85c3682c2746f593090df2e1e6664d34
      https://github.com/lxc/lxc/commit/457ca9aa85c3682c2746f593090df2e1e6664d34
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2016-04-08 (Fri, 08 Apr 2016)

  Changed paths:
    M src/lxc/cgfsng.c

  Log Message:
  -----------
  cgfsng: defer to cgfs if needed subsystems are not available

This requires us to check that at cgfsng_ops_init, rather than
cgfs_init.  Cache the hierarchy and cgroup.use info globally
rather than putting it into the per-container info, as cgmanager
does.  This is ok as both cgroup.use and the list of usable
hierarchies are in fact global to a lxc run.

Closes #952

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


  Commit: bebc48f196eb1f4f10b9ea55cdb6537f8663620a
      https://github.com/lxc/lxc/commit/bebc48f196eb1f4f10b9ea55cdb6537f8663620a
  Author: Christian Brauner <christian.brauner at mailbox.org>
  Date:   2016-04-08 (Fri, 08 Apr 2016)

  Changed paths:
    M src/lxc/cgfsng.c

  Log Message:
  -----------
  Merge pull request #956 from hallyn/2016-04-08/cgnfs-defer

cgfsng: defer to cgfs if needed subsystems are not available


Compare: https://github.com/lxc/lxc/compare/32036de0dc94...bebc48f196eb


More information about the lxc-devel mailing list