commit | 73911426aaaadbae54fa72359b33a7b6a56947db | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Tue Apr 26 11:34:56 2022 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Thu May 05 17:09:15 2022 -0600 |
tree | b7beb65b5171236562b119189a0c6b6263e85f8a | |
parent | f2e030dd7aaea5a937a2547dc980fab418fbc5e7 [diff] |
io_uring: check IOPOLL/ioprio support upfront Don't punt this check to the op prep handlers, add the support to io_op_defs and we can check them while setting up the request. This reduces the text size by 500 bytes on aarch64, and makes this less fragile by having the check in one spot and needing opcodes to opt in to IOPOLL or ioprio support. Reviewed-by: Hao Xu <howeyxu@tencent.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>