[lxc-devel] [lxc/lxc] 1bbc62: Increased buffer length in print_stats()

GitHub noreply at github.com
Thu Mar 30 16:26:28 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 1bbc627538f4b345481ef55a7fe65e565f3810c5
      https://github.com/lxc/lxc/commit/1bbc627538f4b345481ef55a7fe65e565f3810c5
  Author: Denis Pynkin <dans at altlinux.org>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

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

  Log Message:
  -----------
  Increased buffer length in print_stats()

Some "/sys" entries exceeds buffer size.
This results to some statistics loss ('BlkIO' in particular):

 wc -c /sys/fs/cgroup/blkio/lxc/alt/blkio.throttle.io_service_bytes
 318 /sys/fs/cgroup/blkio/lxc/alt/blkio.throttle.io_service_bytes

Signed-off-by: Denis Pynkin <dans at altlinux.org>


  Commit: 67c97521860457dd71987f5d088deed77ab52e47
      https://github.com/lxc/lxc/commit/67c97521860457dd71987f5d088deed77ab52e47
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2017-03-30 (Thu, 30 Mar 2017)

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

  Log Message:
  -----------
  Merge pull request #1494 from d4s/lxcinfo

Increased buffer length in print_stats()


Compare: https://github.com/lxc/lxc/compare/1266eb51fb9b...67c975218604


More information about the lxc-devel mailing list