Skip to content

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

Merged
estesp merged 1 commit intocontainerd:masterfrom
kzys:remove-blockdev
Mar 31, 2021
Merged

Use os.File#Seek() to get the size of a block device#5270
estesp merged 1 commit intocontainerd:masterfrom
kzys:remove-blockdev

Conversation

@kzys
Copy link
Copy Markdown
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
Copy Markdown

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 force-pushed the remove-blockdev branch from 6645bf1 to 59d9bed Compare March 25, 2021 17:32
@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
Copy Markdown
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
Copy Markdown
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 <[email protected]>
@kzys kzys force-pushed the remove-blockdev branch from 59d9bed to e1f51ba Compare March 26, 2021 17:14
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Mar 26, 2021

Build succeeded.

@kzys
Copy link
Copy Markdown
Member Author

kzys commented Mar 31, 2021

@mxpv @estesp It is green now :)

Copy link
Copy Markdown
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.

4 participants