Merge PR #31959 into master

* refs/pull/31959/head:
	os/bluestore/BlueStore.cc: set priorities for compression stats

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
This commit is contained in:
Sage Weil 2019-12-08 10:15:48 -06:00
commit e2f8187b4c

View File

@ -4578,12 +4578,14 @@ void BlueStore::_init_logger()
b.add_u64(l_bluestore_stored, "bluestore_stored",
"Sum for stored bytes");
b.add_u64(l_bluestore_compressed, "bluestore_compressed",
"Sum for stored compressed bytes");
"Sum for stored compressed bytes",
"c", PerfCountersBuilder::PRIO_USEFUL, unit_t(UNIT_BYTES));
b.add_u64(l_bluestore_compressed_allocated, "bluestore_compressed_allocated",
"Sum for bytes allocated for compressed data");
"Sum for bytes allocated for compressed data",
"c_a", PerfCountersBuilder::PRIO_USEFUL, unit_t(UNIT_BYTES));
b.add_u64(l_bluestore_compressed_original, "bluestore_compressed_original",
"Sum for original bytes that were compressed");
"Sum for original bytes that were compressed",
"c_o", PerfCountersBuilder::PRIO_USEFUL, unit_t(UNIT_BYTES));
b.add_u64(l_bluestore_onodes, "bluestore_onodes",
"Number of onodes in cache");
b.add_u64(l_bluestore_pinned_onodes, "bluestore_pinned_onodes",