Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.8] libct/cg/fs/freezer: make sure to thaw on failure #51

Merged
merged 1 commit into from
Jul 1, 2022

Conversation

saschagrunert
Copy link

Function (*FreezerGroup).Set has a few paths where in can return an
error. In any case, if an error is returned, we failed to freeze,
and we need to thaw to avoid leaving the cgroup in a stuck state.

Cherry-picked: fcd7fe8
Refers to: #47

cc @kolyshkin @haircommander

Function (*FreezerGroup).Set has a few paths where in can return an
error. In any case, if an error is returned, we failed to freeze,
and we need to thaw to avoid leaving the cgroup in a stuck state.

Cherry-picked: fcd7fe8

Signed-off-by: Sascha Grunert <[email protected]>
@haircommander
Copy link
Collaborator

LGTM

@kolyshkin
Copy link
Collaborator

@saschagrunert can you also pick up opencontainers/runc#2941?

@saschagrunert saschagrunert changed the title libct/cg/fs/freezer: make sure to thaw on failure [4.8] libct/cg/fs/freezer: make sure to thaw on failure May 25, 2021
@saschagrunert
Copy link
Author

@saschagrunert can you also pick up opencontainers/runc#2941?

Done in #53

Copy link
Collaborator

@kolyshkin kolyshkin left a comment

Choose a reason for hiding this comment

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

LGTM

@kolyshkin
Copy link
Collaborator

Close/reopen to re-kick CI

@kolyshkin kolyshkin closed this Jun 7, 2021
@kolyshkin kolyshkin reopened this Jun 7, 2021
@haircommander haircommander merged commit 93d7d28 into projectatomic:rhaos-4.8 Jul 1, 2022
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