diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-02-14 16:29:12 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-02-14 16:29:12 -0500 |
commit | b3cdf12d71798a26c1f6d46dceff7ed50b9eed83 (patch) | |
tree | 87ef8ad1b53bcb49781ab501f0becce7158dd9a4 /src | |
parent | 80fbd584adf480f62e3282d570f67767c74c13d3 (diff) | |
download | bfs-b3cdf12d71798a26c1f6d46dceff7ed50b9eed83.tar.xz |
ioq: Don't use the symbolic IO_WQ_[UN]BOUND indices
They are only available since liburing 2.2, which is newer than CI.
Diffstat (limited to 'src')
-rw-r--r-- | src/ioq.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -742,8 +742,8 @@ static int ioq_ring_init(struct ioq *ioq, struct ioq_thread *thread) { if (!prev) { // Limit the number of io_uring workers unsigned int values[] = { - [IO_WQ_BOUND] = ioq->nthreads, - [IO_WQ_UNBOUND] = 0, + ioq->nthreads, // [IO_WQ_BOUND] + 0, // [IO_WQ_UNBOUND] }; io_uring_register_iowq_max_workers(&thread->ring, values); } |