Skip to content

Conversation

@ianic
Copy link
Contributor

@ianic ianic commented Jun 14, 2024

In my first try to fix 20212 I didn't reproduce bug on required kernel (6.9.2) and wrongly concluded that first two completions have different order on newer kernel.
On my current kernel (6.5.0) order of completions is: send1, recv, send2. On 6.9.2 order is send1, send2, recv. This fix allows second two completions to arrive in any order.
Tested on both kernels.

Fixes: #20212

In my first [try](ziglang#20224) to fix
20212 I didn't reproduce bug on required kernel (6.9.2) and wrongly
concluded that first two completions have different order on newer
kernel.
On my current kernel (6.5.0) order of completions is: send1, recv,
send2. On 6.9.2 order is send1, send2, recv. This fix allows second two
completions to arrive in any order.
Tested on both kernels.

Fixes: ziglang#20212
@andrewrk andrewrk merged commit b8890f8 into ziglang:master Jun 20, 2024
@andrewrk
Copy link
Member

andrewrk commented Jun 20, 2024

Thanks!

Fix confirmed on my machine 👍

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.

os.linux.IoUring.test.accept/connect/send_zc/recv...FAIL (TestExpectedEqual)

2 participants