summaryrefslogtreecommitdiffstats
path: root/block/blk-iolatency.c
diff options
context:
space:
mode:
authorZhengyuan Liu2019-07-16 17:26:14 +0200
committerJens Axboe2019-07-16 17:55:14 +0200
commitf7b76ac9d17e16e44feebb6d2749fec92bfd6dd4 (patch)
treec6e4e4fbe2f5371efe16be1fab18f69adfb6fff3 /block/blk-iolatency.c
parentata: libahci_platform: remove redundant dev_err message (diff)
downloadkernel-qcow2-linux-f7b76ac9d17e16e44feebb6d2749fec92bfd6dd4.tar.gz
kernel-qcow2-linux-f7b76ac9d17e16e44feebb6d2749fec92bfd6dd4.tar.xz
kernel-qcow2-linux-f7b76ac9d17e16e44feebb6d2749fec92bfd6dd4.zip
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 <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>
Diffstat (limited to 'block/blk-iolatency.c')
0 files changed, 0 insertions, 0 deletions