Skip to content
Commit dd47c104 authored by Eugene Syromiatnikov's avatar Eugene Syromiatnikov Committed by Jens Axboe
Browse files

io-wq: provide IO_WQ_* constants for IORING_REGISTER_IOWQ_MAX_WORKERS arg items



The items passed in the array pointed by the arg parameter
of IORING_REGISTER_IOWQ_MAX_WORKERS io_uring_register operation
carry certain semantics: they refer to different io-wq worker categories;
provide IO_WQ_* constants in the UAPI, so these categories can be referenced
in the user space code.

Suggested-by: default avatarJens Axboe <axboe@kernel.dk>
Complements: 2e480058

 ("io-wq: provide a way to limit max number of workers")
Signed-off-by: default avatarEugene Syromiatnikov <esyr@redhat.com>
Link: https://lore.kernel.org/r/20210913154415.GA12890@asgard.redhat.com
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 767a65e9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment