Motr  M0
m0_be_emap_rec Struct Reference

#include <extmap_internal.h>

Collaboration diagram for m0_be_emap_rec:
Collaboration graph

Data Fields

struct m0_format_header er_header
 
m0_bindex_t er_start
 
uint64_t er_value
 
m0_bindex_t er_unit_size
 
uint32_t er_cksum_nob
 
struct m0_format_footer er_footer
 

Detailed Description

A record stored in the table for each segment in the map collection.

Note
Note that there is a certain amount of redundancy: for any but the first segment in the map, its starting offset is equal to the last offset of the previous segment and for the first segment, the starting offset is 0. Consequently, m0_be_emap_rec::er_start field can be eliminated reducing storage foot-print at the expense of increase in code complexity and possibility of occasional extra IO.

Definition at line 101 of file extmap_internal.h.

Field Documentation

◆ er_cksum_nob

uint32_t er_cksum_nob

checksum buffer size

Definition at line 120 of file extmap_internal.h.

◆ er_footer

struct m0_format_footer er_footer

Definition at line 121 of file extmap_internal.h.

◆ er_header

struct m0_format_header er_header

Definition at line 102 of file extmap_internal.h.

◆ er_start

m0_bindex_t er_start

Starting offset of the segment's extent.

Definition at line 106 of file extmap_internal.h.

◆ er_unit_size

m0_bindex_t er_unit_size

unit_size

Definition at line 112 of file extmap_internal.h.

◆ er_value

uint64_t er_value

Value associated with the segment.

Definition at line 110 of file extmap_internal.h.


The documentation for this struct was generated from the following file: