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) #251

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

budevg
Copy link
Collaborator

@budevg budevg commented Jan 25, 2024

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

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 budevg merged commit 3ffd1e2 into stable-23-3 Jan 26, 2024
4 of 5 checks passed
@budevg budevg deleted the users/evgenybud/merge-stable-23-3-v1 branch January 26, 2024 09:44
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.

3 participants