Skip to content
Commit af197f50 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: enable poll retry for any file with ->read_iter / ->write_iter



We can have files like eventfd where it's perfectly fine to do poll
based retry on them, right now io_file_supports_async() doesn't take
that into account.

Pass in data direction and check the f_op instead of just always needing
an async worker.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 5b0bbee4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment