commit | 10a9ff846dd62d2975f791c21731aafe1f8562bb | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Feb 11 16:44:16 2021 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Feb 11 16:44:57 2021 -0700 |
tree | ddc029c3fa25b004d96ce1edd6ebc9524401eacc | |
parent | 989d7cb34fe0661ef0ecf87dabc7e2d4423fbd60 [diff] |
src/queue: never clear data->wait_nr We're factoring in how many completions we have already, both in liburing and in the kernel. Hence there's no need to ever clear it, and in fact it causes issues with early return where we don't have the required number of CQEs available. While in there, get rid of the silly 'to_wait' variable. Signed-off-by: Jens Axboe <axboe@kernel.dk>