Skip to content

Conversation

@graveland
Copy link

When IORING_SETUP_SQE128 is set, the kernel uses 128-byte spacing instead of 64, and with IORING_SETUP_CQE32 it uses 32-byte CQE spacing instead of 16 bytes.

This was causing problems when attempting to use zig for a linux ublk server.

I'm very new to zig, and I had claude help me to make a reproduction. I stuck that at https://github.com/graveland/zig-iouring-bug-reproduction

When IORING_SETUP_SQE128 is set, the kernel uses 128-byte spacing
instead of 64, and with IORING_SETUP_CQE32 it uses 32-byte CQE
spacing instead of 16 bytes.

This was causing problems when attempting to use zig for a linux ublk
server.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant