diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-04-28 13:15:06 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-04-30 22:24:22 -0600 |
commit | af197f50ac53fff1241598c73ca606754a3bb808 (patch) | |
tree | 81768c80c5b085d1494d6e9e4680c30c6f83e3e4 /block/blk-mq-debugfs-zoned.c | |
parent | 5b0bbee4732cbd58aa98213d4c11a366356bba3d (diff) | |
download | linux-next-af197f50ac53fff1241598c73ca606754a3bb808.tar.gz |
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>
Diffstat (limited to 'block/blk-mq-debugfs-zoned.c')
0 files changed, 0 insertions, 0 deletions