summaryrefslogtreecommitdiffstats
path: root/lib/libcrc32c.c
diff options
context:
space:
mode:
authorzhangyi (F) <yi.zhang@huawei.com>2019-10-23 09:10:08 +0200
committerJens Axboe <axboe@kernel.dk>2019-10-24 06:09:56 +0200
commitef03681ae8df770745978148a7fb84796ae99cba (patch)
tree3112e7810ebfb63944675e06320061f98b723c02 /lib/libcrc32c.c
parentio_uring: revert "io_uring: optimize submit_and_wait API" (diff)
downloadlinux-ef03681ae8df770745978148a7fb84796ae99cba.tar.xz
linux-ef03681ae8df770745978148a7fb84796ae99cba.zip
io_uring : correct timeout req sequence when waiting timeout
The sequence number of reqs on the timeout_list before the timeout req should be adjusted in io_timeout_fn(), because the current timeout req will consumes a slot in the cq_ring and cq_tail pointer will be increased, otherwise other timeout reqs may return in advance without waiting for enough wait_nr. Signed-off-by: zhangyi (F) <yi.zhang@huawei.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/libcrc32c.c')
0 files changed, 0 insertions, 0 deletions