]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcb287960ab129479825f2112a79a9bb6bb768eb6
tree9285f2342b62923e43b04c5d5eb98ba0f09f23e4
parentf38f4c81f0ae12e8895bac776dcedffcfec3ae62
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