diff options
author | 2019-08-20 11:03:11 -0600 | |
---|---|---|
committer | 2019-08-20 11:03:11 -0600 | |
commit | a3a0e43fd77013819e4b6f55e37e0efe8e35d805 (patch) | |
tree | ee2773bfcdb36cbd4f721a2e79d325f4b5605c72 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nvme: Add quirk for LiteON CL1 devices running FW 22301111 (diff) | |
download | linux-dev-a3a0e43fd77013819e4b6f55e37e0efe8e35d805.tar.xz linux-dev-a3a0e43fd77013819e4b6f55e37e0efe8e35d805.zip |
io_uring: don't enter poll loop if we have CQEs pending
We need to check if we have CQEs pending before starting a poll loop,
as those could be the events we will be spinning for (and hence we'll
find none). This can happen if a CQE triggers an error, or if it is
found by eg an IRQ before we get a chance to find it through polling.
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