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>
Thu, 27 Feb 2020 21:21:22 +0000 (14:21 -0700)
commitc4d98b378778b4efcba0d0a2a21ae28a305d5d42
treeed3db86fea4c3f5d335a77f97e6d2dc7bff9969e
parent9b5b91c6a0a59b5b0627a0153689a03093267591
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