io_uring: mark requests that we can do poll async in io_op_defs
authorJens Axboe <axboe@kernel.dk>
Thu, 20 Feb 2020 16:59:44 +0000 (09:59 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 2 Mar 2020 21:06:37 +0000 (14:06 -0700)
commit8a72758c51f8a5501a0e01ea95069630edb9ca07
tree9285f2342b62923e43b04c5d5eb98ba0f09f23e4
parentb41e98524e424d104aa7851d54fd65820759875a
io_uring: mark requests that we can do poll async in io_op_defs

Add a pollin/pollout field to the request table, and have commands that
we can safely poll for properly marked.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c