Skip to content

Commit

Permalink
DAOS-16918 iv: change debug level for IV messages
Browse files Browse the repository at this point in the history
Change the debug level of two IV log messages from INFO to DEBUG.

Signed-off-by: Niu Yawei <[email protected]>
  • Loading branch information
NiuYawei committed Jan 8, 2025
1 parent 6f0ffad commit 0a89b42
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions src/cart/crt_iv.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* (C) Copyright 2016-2024 Intel Corporation.
* (C) Copyright 2025 Hewlett Packard Enterprise Development LP
*
* SPDX-License-Identifier: BSD-2-Clause-Patent
*/
Expand Down Expand Up @@ -3513,8 +3514,8 @@ crt_iv_update_internal(crt_iv_namespace_t ivns, uint32_t class_id,

D_GOTO(exit, rc);
} else {
DL_CDEBUG(rc == -DER_NONEXIST || rc == -DER_NOTLEADER || rc == -DER_BUSY,
DLOG_INFO, DLOG_ERR, rc, "ivo_on_update failed");
DL_CDEBUG(rc == -DER_NONEXIST || rc == -DER_NOTLEADER || rc == -DER_BUSY, DB_TRACE,
DLOG_ERR, rc, "ivo_on_update failed");

update_comp_cb(ivns, class_id, iv_key, NULL,
iv_value, rc, cb_arg);
Expand Down
6 changes: 3 additions & 3 deletions src/engine/server_iv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1099,9 +1099,9 @@ _iv_op(struct ds_iv_ns *ns, struct ds_iv_key *key, d_sg_list_t *value,
* reply IVCB_FORWARD.
*/
if (total_ms % 10000 == 0)
D_INFO("ns %u retry for class %d opc %d rank %u/%u: " DF_RC "\n",
ns->iv_ns_id, key->class_id, opc, key->rank, ns->iv_master_rank,
DP_RC(rc));
D_DEBUG(DB_TRACE, "ns %u retry for class %d opc %d rank %u/%u: " DF_RC "\n",
ns->iv_ns_id, key->class_id, opc, key->rank, ns->iv_master_rank,
DP_RC(rc));

dss_sleep(sleep_ms);
total_ms += sleep_ms;
Expand Down

0 comments on commit 0a89b42

Please sign in to comment.