Skip to content

dm: fix the issue that RTVM cannot bring up with io uring #8775

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

Merged
merged 1 commit into from
May 23, 2025

Conversation

YuanXin-Intel
Copy link
Contributor

Device model uses polling mode to fetch the virtio blk request in RTVM. When RTVM brings up with io uring, the threads handling io uring and vq are not same, which would cause competition. To fix this issue, device model should handle vq and io uring in the same thread to avoid conflict.

Tracked-On: #8737

Signed-off-by: YuanXin-Intel [email protected]
Reviewed-by: Jian Jun Chen [email protected]

Copy link
Contributor

@chejianj chejianj left a comment

Choose a reason for hiding this comment

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

LGTM

@yuhuanX
Copy link
Contributor

yuhuanX commented May 20, 2025

start to run premerge test

1 similar comment
@yuhuanX
Copy link
Contributor

yuhuanX commented May 23, 2025

start to run premerge test

@acrnsi-robot acrnsi-robot merged commit 78bf76e into projectacrn:master May 23, 2025
32 checks passed
Device model uses polling mode to fetch the virtio blk request in RTVM.
When RTVM brings up with io uring, the threads handling io uring and vq are
not same, which would cause competition. To fix this issue, device
model should handle vq and io uring in the same thread to avoid conflict.

Tracked-On: projectacrn#8737

Signed-off-by: YuanXin-Intel <[email protected]>
Reviewed-by: Jian Jun Chen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants