From e28835137ebd1d8b05ff1e0a9f4ddc34ed5481eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Botond=20D=C3=A9nes?= Date: Thu, 14 Nov 2024 01:38:34 -0500 Subject: [PATCH] reactor: fix reserve_io_control_blocks config name in error message adjust_max_networking_aio_io_control_blocks() logs a message when it failed to allocate the desired amount of iocbs. This message mentions the reserve_io_control_blocks by the incorrect name. Fix this. Followup-fix for c5f9e3a2344997ea6308e9b812e6d4ba11115b43. Closes scylladb/seastar#2536 --- src/core/reactor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/reactor.cc b/src/core/reactor.cc index 1e7bbddefe..a110602ac7 100644 --- a/src/core/reactor.cc +++ b/src/core/reactor.cc @@ -4199,7 +4199,7 @@ unsigned smp::adjust_max_networking_aio_io_control_blocks(unsigned network_iocbs aio_nr + (requested_aio_other + smp::count), aio_nr + requested_aio); if (reserve_iocbs) { - err.append(format(", with an added reserve of {} (requested via io_control_blocks_reserve config)", reserve_iocbs)); + err.append(format(", with an added reserve of {} (requested via reserve_io_control_blocks config)", reserve_iocbs)); } unsigned smp_count_max = available_aio / (storage_iocbs + preempt_iocbs + 1); if (smp_count_max > 0) {