Re: [PATCH] io_uring/rw: keep CQE flags on iopoll requests when adding kbuf flags
From: Jens Axboe
Date: Thu Sep 10 2026 - 11:27:47 EST
On Wed, 02 Sep 2026 15:01:59 -0600, Caleb Sander Mateos wrote:
> io_do_iopoll() assigns the result of io_put_kbuf() to the request's CQE
> flags upon completion. This overwrites any CQE flags that may have been
> set by the opcode-specific layer. (For example, if __io_uring_cmd_done()
> had set IORING_CQE_F_32, it would be cleared.) Switch the = to an |= so
> the kbuf flags are added to the existing CQE flags rather than replacing
> them. io_req_rw_complete() does the same with the io_put_kbuf() result.
>
> [...]
Applied, thanks!
[1/1] io_uring/rw: keep CQE flags on iopoll requests when adding kbuf flags
(no commit info)
Best regards,
--
Jens Axboe