Skip to content

Commit 0113982

Browse files
authored
always derive io_uring ring sizes from the queue depth (#1)
1 parent 11071c3 commit 0113982

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/ublk/detail/daemon.hpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ struct daemon_run_t {
121121
}
122122
auto options = runtime_options
123123
? runtime_options->build(info.queue_depth)
124-
: condy::RuntimeOptions();
124+
: RuntimeOptions().build(info.queue_depth);
125125

126126
AllocVector<std::unique_ptr<IoLoop>, decltype(alloc)> loops(alloc);
127127
loops.reserve(info.nr_hw_queues);

0 commit comments

Comments
 (0)