On 10/4/21 10:56 AM, Olivier Langlois wrote: > before commit 0ea4ccd1c0e4 ("src/queue: don't flush SQ ring for new wait interface"), > io_uring_wait_cqes() was serving the purpose of submit sqe and wait for cqe up to a certain timeout value. I fixed up this to wrap at 74 chars (standard style) to avoid wrapping in git log reading, and fixed up: > + if (to_submit < 0) > + return to_submit; > } > + else > + to_submit = __io_uring_flush_sq(ring); > > return __io_uring_get_cqe(ring, cqe_ptr, to_submit, wait_nr, sigmask); > } > this else condition which was still on a separate line. Applied, thanks. -- Jens Axboe