diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2020-02-07 15:18:28 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-02-08 23:06:58 +0300 |
commit | 63e5d81f72af1bf370bf8a6745b0a8d71a7bb37d (patch) | |
tree | 03881aa43362cda36af3f669d5da499563a37b0c /scripts/gdb/linux/utils.py | |
parent | cf3040ca55f2085b0a372a620ee2cb93ae19b686 (diff) | |
download | linux-63e5d81f72af1bf370bf8a6745b0a8d71a7bb37d.tar.xz |
io_uring: flush overflowed CQ events in the io_uring_poll()
In io_uring_poll() we must flush overflowed CQ events before to
check if there are CQ events available, to avoid missing events.
We call the io_cqring_events() that checks and flushes any overflow
and returns the number of CQ events available.
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions