[lxc-devel] [lxc/lxc] 072587: make rsync deal with sparse files efficiently

GitHub noreply at github.com
Fri Sep 23 23:47:32 UTC 2016


  Branch: refs/heads/stable-2.0
  Home:   https://github.com/lxc/lxc
  Commit: 0725879b4f4de8d1c8f51d2d3983ed705c6e8ac7
      https://github.com/lxc/lxc/commit/0725879b4f4de8d1c8f51d2d3983ed705c6e8ac7
  Author: Lukas Pirl <github at lukas-pirl.de>
  Date:   2016-09-23 (Fri, 23 Sep 2016)

  Changed paths:
    M src/lxc/bdev/lxcrsync.c

  Log Message:
  -----------
  make rsync deal with sparse files efficiently

Signed-off-by: Lukas Pirl <git at lukas-pirl.de>


  Commit: 2658578ea76bb0203c5f3fc0cecffb6936c307a4
      https://github.com/lxc/lxc/commit/2658578ea76bb0203c5f3fc0cecffb6936c307a4
  Author: Thierry Fauck <tfauck at free.fr>
  Date:   2016-09-23 (Fri, 23 Sep 2016)

  Changed paths:
    M templates/lxc-debian.in

  Log Message:
  -----------
  lxc-create -t debian fails on ppc64el arch

Template catches arch from uname -m, but for ppc64el system, arch reports ppc64le
which doesn't match image repo.

Signed-off-by: Thierry Fauck <tfauck at free.fr>
Signed-off-by: Serge Hallyn <serge at hallyn.com>


  Commit: f3727c9458f4a2251b3b3f0da158353503c8ee8c
      https://github.com/lxc/lxc/commit/f3727c9458f4a2251b3b3f0da158353503c8ee8c
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2016-09-23 (Fri, 23 Sep 2016)

  Changed paths:
    M src/lxc/criu.c

  Log Message:
  -----------
  c/r: fix typo in comment

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>


  Commit: 336b642f5d71db280387f5e4c7ccd89e8c7eac38
      https://github.com/lxc/lxc/commit/336b642f5d71db280387f5e4c7ccd89e8c7eac38
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2016-09-23 (Fri, 23 Sep 2016)

  Changed paths:
    M src/lxc/cgroups/cgfs.c
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/cgroups/cgmanager.c
    M src/lxc/cgroups/cgroup.c
    M src/lxc/cgroups/cgroup.h

  Log Message:
  -----------
  cgroup: add new functions for interacting with hierachies

N.B. that these are only implemented in cgfsng, but,

15:28:28    tych0 | do we still use cgfs anywhere? or the cgm backend?
15:29:19 stgraber | not anywhere we care about

...I think that's okay.

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>


  Commit: 8c41d0fc711ec8afdafd361e5ca0fce06ab38f5a
      https://github.com/lxc/lxc/commit/8c41d0fc711ec8afdafd361e5ca0fce06ab38f5a
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2016-09-23 (Fri, 23 Sep 2016)

  Changed paths:
    M src/lxc/utils.c
    M src/lxc/utils.h

  Log Message:
  -----------
  utils: add lxc_deslashify

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>


  Commit: 02f2cba67279e56e602bf01f882a7af25b37c5bf
      https://github.com/lxc/lxc/commit/02f2cba67279e56e602bf01f882a7af25b37c5bf
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2016-09-23 (Fri, 23 Sep 2016)

  Changed paths:
    M src/lxc/criu.c

  Log Message:
  -----------
  c/r: pass --cgroup-roots on checkpoint

CRIU has added support for passing --cgroup-root on dump, which we should
use (see the criu commit 07d259f365f224b32914de26ea0fd59fc6db0001 for
details). Note that we don't have to do any version checking or anything,
because CRIU just ignored --cgroup-root on checkpoint before, so passing it
is safe, and will result in correct behavior when a sufficient version of
CRIU is present.

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>


  Commit: a6f6d4682496eabc9b4b91a278fbf948a3ecdb5a
      https://github.com/lxc/lxc/commit/a6f6d4682496eabc9b4b91a278fbf948a3ecdb5a
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2016-09-23 (Fri, 23 Sep 2016)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgroup: get rid of weird hack in cgfsng_escape

We initialized cgfsng in a strange way inside of its implementation of
escape so we could use it during checkpoint. Instead, the previous patch
does a hacky initialization in criu.c, and we can get rid of the hacks
elsewhere :)

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>


  Commit: d7e0fb8092151782f07952b45e05609e02f4386d
      https://github.com/lxc/lxc/commit/d7e0fb8092151782f07952b45e05609e02f4386d
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2016-09-23 (Fri, 23 Sep 2016)

  Changed paths:
    M src/lxc/cgroups/cgfs.c
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/cgroups/cgmanager.c
    M src/lxc/cgroups/cgroup.c
    M src/lxc/cgroups/cgroup.h

  Log Message:
  -----------
  cgroup: drop cgroup_canonical_path

This is almost never the right thing to use, and we don't use it any more
anyway.

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>


  Commit: 8b4e6d69a63611913d59431cc5d6a60ec6d509c2
      https://github.com/lxc/lxc/commit/8b4e6d69a63611913d59431cc5d6a60ec6d509c2
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2016-09-23 (Fri, 23 Sep 2016)

  Changed paths:
    M src/lxc/criu.c

  Log Message:
  -----------
  c/r: check that cgroup_num_hierarchies > 0

Otherwise in the error case, we end up subtracting two from the
static_args, which would lead to a segfault :)

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>


  Commit: 8d74bafd2ce3a09dbcd5c3bb7ce8be3b171afcd4
      https://github.com/lxc/lxc/commit/8d74bafd2ce3a09dbcd5c3bb7ce8be3b171afcd4
  Author: Christian Brauner <christian.brauner at canonical.com>
  Date:   2016-09-23 (Fri, 23 Sep 2016)

  Changed paths:
    M src/lxc/tools/lxc_ls.c

  Log Message:
  -----------
  tools: do not add trailing spaces on lxc-ls -1

Signed-off-by: Christian Brauner <christian.brauner at canonical.com>


  Commit: 8d9e6d770539e73663675ae3af82bdac3f0d402f
      https://github.com/lxc/lxc/commit/8d9e6d770539e73663675ae3af82bdac3f0d402f
  Author: Christian Brauner <christian.brauner at canonical.com>
  Date:   2016-09-23 (Fri, 23 Sep 2016)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: retrieve mtu from netdev->link

When mtu is not set, try to retrieve mtu from netdev->link.

Signed-off-by: Christian Brauner <christian.brauner at canonical.com>


  Commit: eb39afe5986b5fa447f340520b52ffe6050409a8
      https://github.com/lxc/lxc/commit/eb39afe5986b5fa447f340520b52ffe6050409a8
  Author: Christian Brauner <christian.brauner at canonical.com>
  Date:   2016-09-23 (Fri, 23 Sep 2016)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: try to retrieve mtu from veth

When the mtu cannot be retrieved from netdev->link try from veth device.

Signed-off-by: Christian Brauner <christian.brauner at canonical.com>


  Commit: a6013704b04143086e52e6b885cab3028903495d
      https://github.com/lxc/lxc/commit/a6013704b04143086e52e6b885cab3028903495d
  Author: Tycho Andersen <tycho.andersen at canonical.com>
  Date:   2016-09-23 (Fri, 23 Sep 2016)

  Changed paths:
    M src/lxc/criu.c

  Log Message:
  -----------
  c/r: detatch from controlling tty on restore

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>


Compare: https://github.com/lxc/lxc/compare/5fbd50cd85c0...a6013704b041


More information about the lxc-devel mailing list