Skip to content

Commit

Permalink
Updated comment to specify logging details
Browse files Browse the repository at this point in the history
  • Loading branch information
gobinathsr committed Nov 5, 2020
1 parent a91cd38 commit d38d987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nvmf/io_pacer.c
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ io_pacer_tune2(void *arg)
new_period_ticks = spdk_min(new_period_ticks, tuner->max_pacer_period_ticks);

static __thread uint32_t log_counter = 0;
/* Try to log once per second */
/* Try to log once per second, else it would be too much log */
if (log_counter % (SPDK_SEC_TO_NSEC / tuner->period_ns) == 0) {
SPDK_NOTICELOG("IO pacer tuner %p: pacer %p, value %u, new period %lu ticks, min %lu, polls %u. ios %u\n",
tuner,
Expand Down

0 comments on commit d38d987

Please sign in to comment.