| commit | e71a670557f38667dea1b68815a164b7d5440312 | [log] [tgz] |
|---|---|---|
| author | Jens Axboe <axboe@kernel.dk> | Sun Dec 01 13:18:13 2019 -0700 |
| committer | Jens Axboe <axboe@kernel.dk> | Sun Dec 01 13:18:13 2019 -0700 |
| tree | 5308a94cf13fb9f6a77dc75b1b878cab512fa97d | |
| parent | 3e534394598629685120e5cce1654769814e5f16 [diff] |
io_uring_wait_cqes: return right submission count on flush If we flush and submit early to get the internal timeout queued, then that's the return value we want to return. If not, then we just need to subtract one from the actually submitted count. Signed-off-by: Jens Axboe <axboe@kernel.dk>