engines/io_uring: don't mess with non power-of-2 queue depth io_uring-depth
authorJens Axboe <axboe@kernel.dk>
Mon, 14 Oct 2024 16:00:36 +0000 (10:00 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 14 Oct 2024 16:00:36 +0000 (10:00 -0600)
commitaf0ad0facd45cdf3c8c3b5f725424d6ca2e56dfc
tree7fd969077d48868e518bea16ac63bed34471f423
parentcd56c0af6f3e1ec3cad49ab0d0c002f2c7de3f90
engines/io_uring: don't mess with non power-of-2 queue depth

io_uring needs the rings to be a power-of-2 in sizing, but it does not
need to be messing with the queue depth driven to the device. Rather
than round everything up, only round up the API parts.

Reported-by: Riley Thomasson <riley@purestorage.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/io_uring.c