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

GitHub noreply at github.com
Mon Apr 10 19:28:43 UTC 2017


  Branch: refs/heads/stable-1.0
  Home:   https://github.com/lxc/lxc
  Commit: 1fa0ea157c20b63320ec9408bed159dd73b3d81d
      https://github.com/lxc/lxc/commit/1fa0ea157c20b63320ec9408bed159dd73b3d81d
  Author: Denis Pynkin <dans at altlinux.org>
  Date:   2017-04-10 (Mon, 10 Apr 2017)

  Changed paths:
    M src/lxc/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: 00a67661b78ca21d5b2c18994781472908016ed3
      https://github.com/lxc/lxc/commit/00a67661b78ca21d5b2c18994781472908016ed3
  Author: Jakob Gillich <jakob at gillich.me>
  Date:   2017-04-10 (Mon, 10 Apr 2017)

  Changed paths:
    M README

  Log Message:
  -----------
  remove obsolete note about api stability

Signed-off-by: Jakob Gillich <jakob at gillich.me>


Compare: https://github.com/lxc/lxc/compare/3196b9acf965...00a67661b78c


More information about the lxc-devel mailing list