auto& ool_stats = t.get_ool_write_stats();
ceph_assert(ool_stats.extents.num == t.ool_block_list.size());
efforts.num_ool_records += ool_stats.num_records;
- efforts.ool_record_overhead_bytes += ool_stats.overhead_bytes;
+ efforts.ool_record_overhead_bytes += ool_stats.header_bytes;
+
+ auto& record_header_fullness = get_by_src(
+ stats.record_header_fullness_by_src, t.get_src());
+ record_header_fullness.ool_stats.filled_bytes += ool_stats.header_raw_bytes;
+ record_header_fullness.ool_stats.total_bytes += ool_stats.header_bytes;
+
auto record_size = get_encoded_record_length(
- record, segment_manager.get_block_size());
+ record, block_size);
auto inline_overhead =
record_size.mdlength + record_size.dlength - record.get_raw_data_size();
efforts.inline_record_overhead_bytes += inline_overhead;