"st_b",
PerfCountersBuilder::PRIO_CRITICAL,
unit_t(UNIT_BYTES));
+ b.add_u64(l_bluestore_omap, "omap_bytes",
+ "Sum of bytes in OMAPs",
+ "omap",
+ PerfCountersBuilder::PRIO_INTERESTING,
+ 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",
"fbss",
buf->total += bdev->get_size();
}
buf->available = bfree;
+
+ logger->set(l_bluestore_omap, buf->omap_allocated);
}
int BlueStore::statfs(struct store_statfs_t *buf,
//****************************************
l_bluestore_allocated,
l_bluestore_stored,
+ l_bluestore_omap,
l_bluestore_fragmentation,
l_bluestore_alloc_unit,
//****************************************