diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-06-27 12:23:52 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-06-27 12:23:52 -0700 |
commit | 0f47788b3326150a4a3338312f03d2ef3614b53a (patch) | |
tree | 14e23c2b4303dd5ad2f698c5d5db44c141dd5b76 | |
parent | 6d6444ba82053c716fb5ac83346202659023044e (diff) | |
parent | dbcabac138fdfc730ba458ed2199ff1f29a271fc (diff) | |
download | linux-0f47788b3326150a4a3338312f03d2ef3614b53a.tar.gz linux-0f47788b3326150a4a3338312f03d2ef3614b53a.tar.bz2 linux-0f47788b3326150a4a3338312f03d2ef3614b53a.zip |
Merge tag 'io_uring-6.10-20240627' of git://git.kernel.dk/linux
Pull io_uring fixes from Jens Axboe:
"Removal of a struct member that's unused since the 6.10 merge window,
and a fix for a regression in SQPOLL wakeups, bringing it back to how
it worked before the SQPOLL local task_work"
* tag 'io_uring-6.10-20240627' of git://git.kernel.dk/linux:
io_uring: signal SQPOLL task_work with TWA_SIGNAL_NO_IPI
io_uring: remove dead struct io_submit_state member
-rw-r--r-- | include/linux/io_uring_types.h | 1 | ||||
-rw-r--r-- | io_uring/io_uring.c | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/io_uring_types.h b/include/linux/io_uring_types.h index b48570eaa449..7abdc0927124 100644 --- a/include/linux/io_uring_types.h +++ b/include/linux/io_uring_types.h @@ -207,7 +207,6 @@ struct io_submit_state { bool need_plug; bool cq_flush; unsigned short submit_nr; - unsigned int cqes_count; struct blk_plug plug; }; diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c index 154b25b8a613..c326e2127dd4 100644 --- a/io_uring/io_uring.c +++ b/io_uring/io_uring.c @@ -1259,8 +1259,8 @@ static void io_req_normal_work_add(struct io_kiocb *req) if (ctx->flags & IORING_SETUP_SQPOLL) { struct io_sq_data *sqd = ctx->sq_data; - if (wq_has_sleeper(&sqd->wait)) - wake_up(&sqd->wait); + if (sqd->thread) + __set_notify_signal(sqd->thread); return; } |