From: Jens Axboe Date: Fri, 11 Jan 2019 18:38:29 +0000 (-0700) Subject: t/io_uring: remember to set p->sq_thread_cpu X-Git-Tag: fio-3.13~32 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=3ade18a3e69e5626f57560566b8f94cd2ad46ce4;p=fio.git t/io_uring: remember to set p->sq_thread_cpu Signed-off-by: Jens Axboe --- diff --git a/t/io_uring.c b/t/io_uring.c index 0c8058ba..595e6f20 100644 --- a/t/io_uring.c +++ b/t/io_uring.c @@ -386,8 +386,10 @@ static int setup_ring(struct submitter *s) p.flags |= IORING_SETUP_IOPOLL; if (sq_thread_poll) { p.flags |= IORING_SETUP_SQPOLL; - if (sq_thread_cpu != -1) + if (sq_thread_cpu != -1) { p.flags |= IORING_SETUP_SQ_AFF; + p.sq_thread_cpu = sq_thread_cpu; + } } fd = io_uring_setup(DEPTH, &p);