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

fix: vhost-server aio backend was incorrectly batching ios #248

Merged
merged 1 commit into from
Jan 25, 2024

Commits on Jan 25, 2024

  1. fix: vhost-server aio backend was incorrectly batching ios

    After refactoring the `Batch` array of iocb was incorrectly shared between
    different vhost queues. This lead to memory corruption which was not detected
    since tests were running with only 1 vhost queue configured.
    
    ```
    qemu ... -device vhost-user-blk-pci,chardev=vhost0,id=vhost-user-blk0,num-queues=1
    ```
    budevg committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    137fd8e View commit details
    Browse the repository at this point in the history