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

Added API functionality + testing to change engine IO type #411

Merged
merged 1 commit into from
Jun 20, 2022

Conversation

sondavidb
Copy link
Contributor

@sondavidb sondavidb commented Jun 17, 2022

The Drive model has a variable called IoEngine that determines if the block device runs commands synchronously or asynchronously (default synchronous). This PR implements a function to change said variable alongside a test to show that it works.

The default value seems to be nil and I assume that the handling of that is done in Firecracker itself, but if this is not the case, please let me know.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

@ginglis13 ginglis13 left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: David Son <davbson@amazon.com>
@austinvazquez austinvazquez merged commit 8314cda into firecracker-microvm:main Jun 20, 2022
@sondavidb sondavidb deleted the engine-io branch June 20, 2022 20:43
@austinvazquez austinvazquez mentioned this pull request Aug 29, 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.

None yet

3 participants