diff options
| author | Zhengyuan Liu <liuzhengyuan@kylinos.cn> | 2019-07-16 23:26:14 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-31 07:25:03 +0200 |
| commit | 4686e134619cf7fc3eaf5edb3da400e3a9a751d2 (patch) | |
| tree | 5245f02154705b8d8dfb50382ddd9e6e4effe274 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 119be19fa6b647a9c70bd5d396c183b3c832f07b (diff) | |
io_uring: fix counter inc/dec mismatch in async_list
commit f7b76ac9d17e16e44feebb6d2749fec92bfd6dd4 upstream.
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 <axboe@kernel.dk> for his guidance.
Fixes: 31b515106428 ("io_uring: allow workqueue item to handle multiple buffered requests")
Signed-off-by: Zhengyuan Liu <liuzhengyuan@kylinos.cn>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
