Skip to content

Commit 9f32991

Browse files
committed
always derive io_uring ring sizes from the queue depth
1 parent 48e3148 commit 9f32991

2 files changed

Lines changed: 2 additions & 3 deletions

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);

‎include/ublk/version.hpp‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@
55

66
#pragma once
77

8-
// TODO
98
/** @brief ublk-cpp major version. */
109
#define UBLKCPP_VERSION_MAJOR 0
1110

1211
/** @brief ublk-cpp minor version. */
13-
#define UBLKCPP_VERSION_MINOR 0
12+
#define UBLKCPP_VERSION_MINOR 1
1413

1514
namespace ublk {
1615

0 commit comments

Comments
 (0)