diff options
author | 2019-09-24 20:53:34 +0800 | |
---|---|---|
committer | 2019-09-24 07:04:15 -0600 | |
commit | daa5de5415849b9a53056ec1e1e88fe4c5c9aa2b (patch) | |
tree | 57e6f539eb3582046f05bfad7ca1b34401ace56b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | io_uring: correctly handle non ->{read,write}_iter() file_operations (diff) | |
download | wireguard-linux-daa5de5415849b9a53056ec1e1e88fe4c5c9aa2b.tar.xz wireguard-linux-daa5de5415849b9a53056ec1e1e88fe4c5c9aa2b.zip |
io_uring: compare cached_cq_tail with cq.head in_io_uring_poll
After 75b28af("io_uring: allocate the two rings together"), we compare
sq.head with cached_cq_tail to determine does there any cq invalid.
Actually, we should use cq.head.
Fixes: 75b28affdd6a ("io_uring: allocate the two rings together")
Signed-off-by: yangerkun <yangerkun@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions