Pavel Begunkov
f6dc5a3619
io_uring: fix mixed cqe overflow handling
...
I started to see zcrx data corruptions. That turned out to be due
to CQ tail pointing to a stale entry which happened to be from
a zcrx request. I.e. the tail is incremented without the CQE
memory being changed.
The culprit is __io_cqring_overflow_flush() passing "cqe32=true"
to io_get_cqe_overflow() for non-mixed CQE32 setups, which only
expects it to be set for mixed 32B CQEs and not for SETUP_CQE32.
The fix is slightly hacky, long term it's better to unify mixed and
CQE32 handling.
Fixes: e26dca67fd ("io_uring: add support for IORING_SETUP_CQE_MIXED")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com >
Signed-off-by: Jens Axboe <axboe@kernel.dk >
2025-11-25 07:03:45 -07:00
..
2025-05-21 08:41:16 -06:00
2022-07-24 18:39:11 -06:00
2025-01-28 15:10:40 -07:00
2025-03-07 13:41:08 -07:00
2025-09-08 13:20:46 -06:00
2025-02-17 05:34:45 -07:00
2025-11-20 11:40:15 -07:00
2025-05-21 08:41:16 -06:00
2025-02-20 07:59:56 -07:00
2025-04-24 08:33:54 -06:00
2025-04-24 08:33:54 -06:00
2025-10-22 10:51:20 -06:00
2022-07-24 18:39:12 -06:00
2025-10-23 07:25:07 -06:00
2024-11-07 15:24:33 -07:00
2025-05-21 08:41:16 -06:00
2022-07-24 18:39:11 -06:00
2025-08-27 11:24:25 -06:00
2024-11-06 13:55:38 -07:00
2025-11-25 07:03:45 -07:00
2025-10-02 09:56:23 -07:00
2025-09-15 10:46:13 -06:00
2025-04-21 05:06:58 -06:00
2025-10-23 19:41:31 -06:00
2025-08-24 11:41:12 -06:00
2025-03-31 07:07:44 -06:00
2025-09-08 08:06:37 -06:00
2025-11-05 11:45:07 -07:00
2025-05-09 07:58:22 -06:00
2025-07-02 08:10:26 -06:00
2025-09-18 13:59:15 -06:00
2024-12-27 10:08:21 -07:00
2025-02-17 16:43:04 -08:00
2024-11-06 13:55:38 -07:00
2025-11-24 10:59:02 -07:00
2025-03-07 13:41:08 -07:00
2025-08-27 11:24:15 -06:00
2025-10-02 09:56:23 -07:00
2024-04-22 19:31:18 -06:00
2025-08-24 11:41:12 -06:00
2025-06-23 08:59:13 -06:00
2025-09-08 13:20:46 -06:00
2025-04-21 05:06:58 -06:00
2025-10-02 09:56:23 -07:00
2025-06-23 09:00:12 -06:00
2025-11-10 14:59:35 -07:00
2025-09-08 08:06:37 -06:00
2025-04-03 08:31:57 -06:00
2025-11-03 08:55:58 -07:00
2024-11-15 09:58:34 -07:00
2025-11-12 08:25:33 -07:00
2025-07-16 16:23:28 -06:00
2025-11-10 14:59:08 -07:00
2025-04-21 05:06:58 -06:00
2023-03-09 10:10:58 -07:00
2025-09-08 13:20:46 -06:00
2024-10-29 13:43:28 -06:00
2025-10-22 10:55:33 -06:00
2025-10-22 10:51:20 -06:00
2025-05-21 08:41:16 -06:00
2022-07-24 18:39:11 -06:00
2025-05-21 08:41:16 -06:00
2022-07-24 18:39:11 -06:00
2025-04-21 05:06:58 -06:00
2022-10-07 12:25:30 -06:00
2025-09-18 10:24:50 -06:00
2025-05-06 10:11:23 -06:00
2025-05-21 08:41:16 -06:00
2024-02-09 09:04:39 -07:00
2025-10-02 09:56:23 -07:00
2025-07-18 12:34:56 -06:00
2025-10-20 09:22:09 -06:00
2024-11-06 13:55:38 -07:00
2025-05-21 08:41:16 -06:00
2025-11-03 08:55:58 -07:00
2025-11-03 08:55:58 -07:00