Project

General

Profile

Actions

Bug #42860

open

Downgrade the level of annoying logs

Added by yong xing over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Messengers
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rados
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The transport layer is async+rdma. And the flag ms_async_rdma_enable_hugepage is set true. Every time running the ceph tool, I get an annoying log like this:

2019-11-18 11:55:15.490 7f0186e80700 0 Infiniband verify_prereq RDMAV_HUGEPAGES_SAFE is set as: 1

The code in ceph/src/msg/async/rdma/Infiniband.cc forces the output for any log level.

if (cct->_conf->ms_async_rdma_enable_hugepage){
rc = setenv("RDMAV_HUGEPAGES_SAFE","1",1);
ldout(cct, 0) << func << " RDMAV_HUGEPAGES_SAFE is set as: " << getenv("RDMAV_HUGEPAGES_SAFE") << dendl;
if (rc) {
lderr(cct) << func << " failed to export RDMA_HUGEPAGES_SAFE. On RDMA must be exported before using huge pages. Application aborts." << dendl;
ceph_abort();
}
}
Actions #1

Updated by Greg Farnum over 4 years ago

  • Project changed from Ceph to Messengers
Actions

Also available in: Atom PDF