On Sat, 28 Dec 2024 17:44:52 +0000, Pavel Begunkov wrote: > The iowq path can downgrade a multishot request to the oneshot mode, > however io_read_mshot() doesn't handle that and would still post > multiple CQEs. That's not allowed, because io_req_post_cqe() requires > stricter context requirements. > > The described can only happen with pollable files that don't support > FMODE_NOWAIT, which is an odd combination, so if even allowed it should > be fairly rare. > > [...] Applied, thanks! [1/1] io_uring/rw: fix downgraded mshot read commit: 38fc96a58ce40257aec79b32e9b310c86907c63c Best regards, -- Jens Axboe