Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
io_uring: fix counter inc/dec mismatch in async_list
We could queue a work for each req in defer and link list without increasing async_list->cnt, so we shouldn't decrease it while exiting from workqueue as well if we didn't process the req in async list. Thanks to Jens Axboe <[email protected]> for his guidance. Fixes: 31b5151 ("io_uring: allow workqueue item to handle multiple buffered requests") Signed-off-by: Zhengyuan Liu <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information