Skip to content

Commit

Permalink
reactor: fix reserve_io_control_blocks config name in error message
Browse files Browse the repository at this point in the history
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
  • Loading branch information
denesb authored and xemul committed Nov 14, 2024
1 parent cd03667 commit e288351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/reactor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e288351

Please sign in to comment.