Skip to content

Add v2 io support#112

Merged
estesp merged 2 commits intocontainerd:masterfrom
crosbymichael:io
Nov 8, 2019
Merged

Add v2 io support#112
estesp merged 2 commits intocontainerd:masterfrom
crosbymichael:io

Conversation

@crosbymichael
Copy link
Member

Signed-off-by: Michael Crosby crosbymichael@gmail.com

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
func (c *Manager) Stat() (map[string]uint64, error) {
var singleValueFiles = []string{
"pids.current",
"pids.max",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can be another PR, but we need memory.current and memory.swap.current?
https://facebookmicrosites.github.io/cgroup2/docs/memory-controller.html

@crosbymichael
Copy link
Member Author

@Zyqsempai this has the code for how we will handle stats

Copy link
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@estesp estesp merged commit 4baafdb into containerd:master Nov 8, 2019
@crosbymichael crosbymichael deleted the io branch November 8, 2019 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants