unit_t(UNIT_BYTES));
b.add_u64(l_bluestore_fragmentation, "fragmentation_micros",
"How fragmented bluestore free space is (free extents / max possible number of free extents) * 1000");
+ b.add_u64(l_bluestore_alloc_unit, "alloc_unit",
+ "allocation unit size in bytes",
+ "au_b",
+ PerfCountersBuilder::PRIO_CRITICAL,
+ unit_t(UNIT_BYTES));
//****************************************
// Update op processing state latencies
}
dout(1) << __func__ << " min_alloc_size 0x" << std::hex << min_alloc_size
<< std::dec << dendl;
+ logger->set(l_bluestore_alloc_unit, min_alloc_size);
}
// smr fields
l_bluestore_allocated,
l_bluestore_stored,
l_bluestore_fragmentation,
+ l_bluestore_alloc_unit,
//****************************************
// Update op processing state latencies