Skip to content
This repository was archived by the owner on Feb 24, 2020. It is now read-only.

Conversation

@s-urbaniak
Copy link
Contributor

Currently we have func .V[1|2]. named function names in the cgroup
package.

This factors those functions into two separate packages cgroup/v1, and
cgroup/v2.

This is a prerequisite for #3242

@s-urbaniak s-urbaniak added this to the v1.18.0 milestone Oct 12, 2016
@s-urbaniak s-urbaniak changed the title cgroup: introduce proper cgroup/v1, cgroup/v2 packages [WIP] cgroup: introduce proper cgroup/v1, cgroup/v2 packages Oct 12, 2016
Currently we have func .*V[1|2].* named function names in the cgroup
package.

This factors those functions into two separate packages cgroup/v1, and
cgroup/v2.

This is a prerequisite for rkt#3242
@s-urbaniak s-urbaniak changed the title [WIP] cgroup: introduce proper cgroup/v1, cgroup/v2 packages cgroup: introduce proper cgroup/v1, cgroup/v2 packages Oct 12, 2016
@s-urbaniak
Copy link
Contributor Author

@lucab @squeed looking green enough for a review ;-) PTAL

}
)

func mountFsRO(mountPoint string) error {
Copy link
Member

Choose a reason for hiding this comment

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

I'm just concerned that this should (also?) take a flags parameter from the outside.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed, that this should take flag arguments. I will tackle this in a separate PR.

Copy link
Member

@lucab lucab left a comment

Choose a reason for hiding this comment

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

This cleanup LGTM. I just have a concern on the existing code (which doesn't block this): are we dropping some flags when remounting?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants