diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-04-03 11:10:14 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-04-03 11:35:48 -0600 |
commit | a6ba632d2c249a4390289727c07b8b55eb02a41d (patch) | |
tree | a672727c41cae975ace50616232c8b4964e3fb65 /fs/io-wq.c | |
parent | io_uring: add missing finish_wait() in io_sq_thread() (diff) | |
download | wireguard-linux-a6ba632d2c249a4390289727c07b8b55eb02a41d.tar.xz wireguard-linux-a6ba632d2c249a4390289727c07b8b55eb02a41d.zip |
io_uring: retry poll if we got woken with non-matching mask
If we get woken and the poll doesn't match our mask, re-add the task
to the poll waitqueue and try again instead of completing the request
with a mask of 0.
Reported-by: Dan Melnic <dmm@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io-wq.c')
0 files changed, 0 insertions, 0 deletions