commit | e0bb44a5b2a67695f0b940772c70f678b323ec54 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Wed Apr 17 16:33:28 2024 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Apr 17 16:34:47 2024 -0600 |
tree | 88e5a67b425b6899e3bca663410f18cea20dcd07 | |
parent | cf9c8b52a65139500729baaf8294a4bc953ae8d8 [diff] |
t/io_uring: only calculate per-file depth if we have files If NOPs are used, then no files exist, and hence the app will throw a floating point error when trying to divide by zero. Fixes: 6067863c7016 ("t/io_uring: pre-calculate per-file depth") Signed-off-by: Jens Axboe <axboe@kernel.dk>