Motr  M0
m0_be_emap_key Struct Reference

#include <extmap_internal.h>

Collaboration diagram for m0_be_emap_key:
Collaboration graph

Data Fields

struct m0_format_header ek_header
 
struct m0_uint128 ek_prefix
 
m0_bindex_t ek_offset
 
struct m0_format_footer ek_footer
 

Detailed Description

A key used to identify a particular segment in the map collection.

Definition at line 60 of file extmap_internal.h.

Field Documentation

◆ ek_footer

struct m0_format_footer ek_footer

Definition at line 77 of file extmap_internal.h.

◆ ek_header

struct m0_format_header ek_header

Definition at line 61 of file extmap_internal.h.

◆ ek_offset

m0_bindex_t ek_offset

Last offset of the segment's extent. That is, the key of a segment ([A, B), V) has B as an offset.

This not entirely intuitive decision is forced by the available range search interfaces of m0_db_cursor: m0_db_cursor_get() positions the cursor on the least key not less than the key sought for.

Definition at line 76 of file extmap_internal.h.

◆ ek_prefix

struct m0_uint128 ek_prefix

Prefix of the map the segment is part of.

Definition at line 65 of file extmap_internal.h.


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