-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add I/O priority #3783
Add I/O priority #3783
Conversation
df79b02
to
8d9e5ed
Compare
Could you squash the commits? |
@AkihiroSuda Sure. Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left a few comments, mostly nits
223043c
to
ca36f1e
Compare
docs/terminals.md
Outdated
@@ -58,7 +58,7 @@ you use `runc` directly in something like a `systemd` unit file. To disable | |||
this `LISTEN_FDS`-style passing just unset `LISTEN_FDS`. | |||
|
|||
**Be very careful when passing file descriptors to a container process.** Due | |||
to some Linux kernel (mis)features, a container with access to certain types of | |||
to some Linux kernel misfeatures, a container with access to certain types of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to fix it to pass the checking code spell.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't seem relevant to the PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But CI won't allow this word... if I edit this file, CI won't go through unless I fix this part.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this hunk. We'll deal with CI later.
076fa1b
to
9f7d118
Compare
a1980b1
to
cff9be2
Compare
This PR can be merged once you do a rebase and resolve the conflicts, and I can take over this PR if you are in busy status. |
@utam0k please avoid merge commits -- do a rebase instead |
Done ✅ |
@kolyshkin PTAL |
All request changes have been addressed.
@utam0k Please help to do a rebase to main and solve the conflicts. Thanks. |
docs/spec-conformance.md
Outdated
@@ -9,6 +9,7 @@ Spec version | Feature | PR | |||
-------------|------------------------------------------|---------------------------------------------------------- | |||
v1.1.0 | `SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV` | [#3862](https://github.com/opencontainers/runc/pull/3862) | |||
v1.1.0 | `.process.ioPriority` | [#3783](https://github.com/opencontainers/runc/pull/3783) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line should be now removed
docs/spec-conformance.md
Outdated
@@ -9,6 +9,7 @@ Spec version | Feature | PR | |||
-------------|------------------------------------------|---------------------------------------------------------- | |||
v1.1.0 | `SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV` | [#3862](https://github.com/opencontainers/runc/pull/3862) | |||
v1.1.0 | `.process.ioPriority` | [#3783](https://github.com/opencontainers/runc/pull/3783) | |||
v1.1.0 | rsvd hugetlb cgroup | TODO ([#3859](https://github.com/opencontainers/runc/issues/3859)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be a separate PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to have been implemented in:
Signed-off-by: utam0k <[email protected]>
Priority: tc.priority, | ||
} | ||
config := &configs.Config{ | ||
Rootfs: "/var", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(This value looks unusual, but it doesn’t matter here)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems we need to set an existing dir. I tried to delete this line and got following error.
validator_test.go|869| iopriority: 0, expected nil, got error invalid rootfs: stat : no such file or directory
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank!
opencontainers/runtime-spec#1191