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

Use os.File#Seek() to get the size of a block device #5270

Merged
merged 1 commit into from
Mar 31, 2021

Conversation

kzys
Copy link
Member

@kzys kzys commented Mar 25, 2021

Instead of calling blockdev(1), this change uses os.File#Seek which
would be more effecient.

firecracker-microvm/firecracker#1371

@k8s-ci-robot
Copy link

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@kzys kzys marked this pull request as ready for review March 25, 2021 17:41
@kzys kzys requested a review from mxpv March 25, 2021 18:03
Copy link
Member

@mxpv mxpv left a comment

Choose a reason for hiding this comment

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

LGTM on green

@estesp
Copy link
Member

estesp commented Mar 26, 2021

Hey @kzys: Can you rewrite the commit and force push?; GitHub Actions seems to have gotten all confused about the state of the commits

Instead of calling blockdev(1), this change uses os.File#Seek which
would be more effecient.

firecracker-microvm/firecracker#1371

Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
@theopenlab-ci
Copy link

theopenlab-ci bot commented Mar 26, 2021

Build succeeded.

@kzys
Copy link
Member Author

kzys commented Mar 31, 2021

@mxpv @estesp It is green now :)

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 9a9bd09 into containerd:master Mar 31, 2021
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.

None yet

4 participants