diff options
author | Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch> | 2021-07-23 09:27:00 +0200 |
---|---|---|
committer | Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch> | 2021-07-26 08:56:22 +0200 |
commit | bef1acc8ab5e669c67437220bbdcf664b0b5e924 (patch) | |
tree | 2006d9511aef98bd60ffb132ca4b6c17ffad9f57 | |
parent | 0f589fd5a12a7ee844fceabe951140b18faf866b (diff) | |
download | ceph-bef1acc8ab5e669c67437220bbdcf664b0b5e924.tar.gz |
osd: log snaptrim message to dout
This log message is not an error and is done on every tick of the
snaptrim process. Replace the derr logging to dout(10) to not log it
by default.
Fixes: https://tracker.ceph.com/issues/51799
Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
(cherry picked from commit e2b2faef11c18df6c2f1f083d32d279e51b63e82)
-rw-r--r-- | src/osd/PrimaryLogPG.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/PrimaryLogPG.cc b/src/osd/PrimaryLogPG.cc index 76217a54e84..4de4eb93844 100644 --- a/src/osd/PrimaryLogPG.cc +++ b/src/osd/PrimaryLogPG.cc @@ -4523,7 +4523,7 @@ int PrimaryLogPG::trim_object( ctx->mtime, 0) ); - derr << "removing snap head" << dendl; + dout(10) << "removing snap head" << dendl; object_info_t& oi = head_obc->obs.oi; ctx->delta_stats.num_objects--; if (oi.is_dirty()) { |