aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/io-wq.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-04-03 11:10:14 -0600
committerJens Axboe <axboe@kernel.dk>2020-04-03 11:35:48 -0600
commita6ba632d2c249a4390289727c07b8b55eb02a41d (patch)
treea672727c41cae975ace50616232c8b4964e3fb65 /fs/io-wq.c
parentio_uring: add missing finish_wait() in io_sq_thread() (diff)
downloadwireguard-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