commit | af197f50ac53fff1241598c73ca606754a3bb808 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Tue Apr 28 13:15:06 2020 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Apr 30 22:24:22 2020 -0600 |
tree | 81768c80c5b085d1494d6e9e4680c30c6f83e3e4 | |
parent | 5b0bbee4732cbd58aa98213d4c11a366356bba3d [diff] |
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: Jens Axboe <axboe@kernel.dk>