diff --git a/tools/benchmark/disk_uring.c b/tools/benchmark/disk_uring.c index 4831aabc..73c71d28 100644 --- a/tools/benchmark/disk_uring.c +++ b/tools/benchmark/disk_uring.c @@ -76,6 +76,7 @@ static int initUring(int fd, struct iovec *iov) /* See io_uring_setup(2) for io_uring_params.flags you can set */ memset(&p, 0, sizeof(p)); + p.flags = IORING_SETUP_SINGLE_ISSUER; _ring_fd = _io_uring_setup(QUEUE_DEPTH, &p); if (_ring_fd < 0) { perror("io_uring_setup");