On Tue, 16 Jul 2024 19:05:46 +0100, Pavel Begunkov wrote: > There is a report that iowq executed getsockopt never completes. The > reason being that io_uring_cmd_sock() can return a positive result, and > io_uring_cmd() propagates it back to core io_uring, instead of IOU_OK. > In case of io_wq_submit_work(), the request will be dropped without > completing it. > > The offending code was introduced by a hack in > a9c3eda7eada9 ("io_uring: fix submission-failure handling for uring-cmd"), > however it was fine until getsockopt was introduced and started > returning positive results. > > [...] Applied, thanks! [1/1] io_uring: fix lost getsockopt completions commit: 2554b855a2f8605407a2018ca55cabb1af1feb61 Best regards, -- Jens Axboe