diff options
| author | 2022-04-26 11:34:56 -0600 | |
|---|---|---|
| committer | 2022-05-05 17:09:15 -0600 | |
| commit | 73911426aaaadbae54fa72359b33a7b6a56947db (patch) | |
| tree | b7beb65b5171236562b119189a0c6b6263e85f8a /include/uapi/linux | |
| parent | io_uring: replace smp_mb() with smp_mb__after_atomic() in io_sq_thread() (diff) | |
| download | linux-dev-73911426aaaadbae54fa72359b33a7b6a56947db.tar.xz linux-dev-73911426aaaadbae54fa72359b33a7b6a56947db.zip | |
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>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
