]> Gentwo Git Trees - linux/.git/commit
io_uring/query: return number of available queries
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 10 Nov 2025 13:03:53 +0000 (13:03 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 10 Nov 2025 21:59:35 +0000 (14:59 -0700)
commit6a77267d97b5b6cd0e35099ab4eb054e5f965ee6
tree195cc317941a22c42285332637222066401b1ae7
parentd3c9c213c0b86ac5dd8fe2c53c24db20f1f510bc
io_uring/query: return number of available queries

It's useful to know which query opcodes are available. Extend the
structure and return that. It's a trivial change, and even though it can
be painlessly extended later, it'd still require adding a v2 of the
structure.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/uapi/linux/io_uring/query.h
io_uring/query.c