From: Sage Weil Date: Fri, 2 Mar 2018 02:28:51 +0000 (-0600) Subject: os/bluestore: no trim debug noise if there is no trimming to be done X-Git-Tag: v13.0.2~110^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F20684%2Fhead;p=ceph.git os/bluestore: no trim debug noise if there is no trimming to be done Signed-off-by: Sage Weil --- diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index 67ce77bd960e..71ad7267e644 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -805,7 +805,7 @@ void BlueStore::Cache::trim( target_buffer = min(target_bytes - target_meta, target_buffer); if (current <= target_bytes) { - dout(10) << __func__ + dout(30) << __func__ << " shard target " << pretty_si_t(target_bytes) << " meta/data ratios " << target_meta_ratio << " + " << target_data_ratio << " (" @@ -834,7 +834,7 @@ void BlueStore::Cache::trim( uint64_t max_meta = current_meta - free_meta; uint64_t max_onodes = max_meta / bytes_per_onode; - dout(10) << __func__ + dout(20) << __func__ << " shard target " << pretty_si_t(target_bytes) << " ratio " << target_meta_ratio << " (" << pretty_si_t(target_meta) << " + "