diff options
| author | Jens Axboe <axboe@kernel.dk> | 2019-08-20 11:03:11 -0600 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2019-08-20 11:03:11 -0600 |
| commit | a3a0e43fd77013819e4b6f55e37e0efe8e35d805 (patch) | |
| tree | ee2773bfcdb36cbd4f721a2e79d325f4b5605c72 /net/core/dev.c | |
| parent | cb32de1b7e2591f844f18a5513fde8e2bd49bce0 (diff) | |
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 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions
