Closed sxstd001 closed 3 months ago
@sxstd001 I can’t reproduce your problem with 6.9 linux kernel version and 2.6 liburing version.
#include <liburing.h>
#include <stdio.h>
#include <string.h>
int main (void)
{
io_uring ring{};
io_uring_params params{};
params.flags |= IORING_SETUP_SINGLE_ISSUER;
const auto ret = io_uring_queue_init_params (256, &ring, ¶ms);
if (ret != 0)
printf ("error: %s", strerror (ret));
io_uring_queue_exit (&ring);
return ret != 0;
}
Could you please specify both versions you are using and within which conditions you are getting the error? On the other side, is there any more code than the one you provided in your program?
Please try and strace that, makes no sense. Unless you're on an old kernel that doesn't support IORING_SETUP_SINGLE_ISSUER, in which case it would indeed return -EINVAL.
@sxstd001 I can’t reproduce your problem with 6.9 linux kernel version and 2.6 liburing version.
#include <liburing.h> #include <stdio.h> #include <string.h> int main (void) { io_uring ring{}; io_uring_params params{}; params.flags |= IORING_SETUP_SINGLE_ISSUER; const auto ret = io_uring_queue_init_params (256, &ring, ¶ms); if (ret != 0) printf ("error: %s", strerror (ret)); io_uring_queue_exit (&ring); return ret != 0; }
Could you please specify both versions you are using and within which conditions you are getting the error? On the other side, is there any more code than the one you provided in your program?
ArchLinux latest version;
liburing-2.6-2;
Works fine here, please provide an strace output of running that as requested.
error: Invalid argument.
It was normal before the upgrade;