Skip to content

Commit e288351

Browse files
denesbxemul
authored andcommitted
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 c5f9e3a. Closes #2536
1 parent cd03667 commit e288351

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/reactor.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4199,7 +4199,7 @@ unsigned smp::adjust_max_networking_aio_io_control_blocks(unsigned network_iocbs
41994199
aio_nr + (requested_aio_other + smp::count), aio_nr + requested_aio);
42004200

42014201
if (reserve_iocbs) {
4202-
err.append(format(", with an added reserve of {} (requested via io_control_blocks_reserve config)", reserve_iocbs));
4202+
err.append(format(", with an added reserve of {} (requested via reserve_io_control_blocks config)", reserve_iocbs));
42034203
}
42044204
unsigned smp_count_max = available_aio / (storage_iocbs + preempt_iocbs + 1);
42054205
if (smp_count_max > 0) {

0 commit comments

Comments
 (0)