Motr  M0
m0_be_domain_cfg Struct Reference

#include <domain.h>

Collaboration diagram for m0_be_domain_cfg:
Collaboration graph

Data Fields

struct m0_be_engine_cfg bc_engine
 
const struct m0_be_0type ** bc_0types
 
unsigned bc_0types_nr
 
const char * bc_stob_domain_location
 
const char * bc_stob_domain_cfg_init
 
uint64_t bc_seg0_stob_key
 
bool bc_mkfs_mode
 
uint32_t bc_zone_pcnt [M0_BAP_NR]
 
const char * bc_stob_domain_cfg_create
 
uint64_t bc_stob_domain_key
 
struct m0_be_log_cfg bc_log
 
struct m0_be_0type_seg_cfg bc_seg0_cfg
 
struct m0_be_0type_seg_cfgbc_seg_cfg
 
unsigned bc_seg_nr
 
struct m0_be_pd_cfg bc_pd_cfg
 
struct m0_be_log_discard_cfg bc_log_discard_cfg
 

Detailed Description

Definition at line 77 of file domain.h.

Field Documentation

◆ bc_0types

const struct m0_be_0type** bc_0types

0types supported by this domain.

Definition at line 81 of file domain.h.

◆ bc_0types_nr

unsigned bc_0types_nr

Definition at line 82 of file domain.h.

◆ bc_engine

struct m0_be_engine_cfg bc_engine

BE engine configuration.

Definition at line 79 of file domain.h.

◆ bc_log

struct m0_be_log_cfg bc_log

BE log configuration.

Definition at line 118 of file domain.h.

◆ bc_log_discard_cfg

struct m0_be_log_discard_cfg bc_log_discard_cfg

Definition at line 130 of file domain.h.

◆ bc_mkfs_mode

bool bc_mkfs_mode

Definition at line 98 of file domain.h.

◆ bc_pd_cfg

struct m0_be_pd_cfg bc_pd_cfg

Definition at line 129 of file domain.h.

◆ bc_seg0_cfg

struct m0_be_0type_seg_cfg bc_seg0_cfg

BE seg0 configuration.

Definition at line 120 of file domain.h.

◆ bc_seg0_stob_key

uint64_t bc_seg0_stob_key

seg0 stob key. This field is ignored in mkfs mode.

Definition at line 97 of file domain.h.

◆ bc_seg_cfg

struct m0_be_0type_seg_cfg* bc_seg_cfg

Array of segment configurations.

Definition at line 126 of file domain.h.

◆ bc_seg_nr

unsigned bc_seg_nr

Size of m0_be_domain_cfg::bc_seg_cfg array.

Definition at line 128 of file domain.h.

◆ bc_stob_domain_cfg_create

const char* bc_stob_domain_cfg_create

str_cfg_create parameter for m0_stob_domain_create().

Definition at line 111 of file domain.h.

◆ bc_stob_domain_cfg_init

const char* bc_stob_domain_cfg_init

str_cfg_init parameter for m0_stob_domain_init() (in normal mode) and m0_stob_domain_create() (in mkfs mode).

Definition at line 92 of file domain.h.

◆ bc_stob_domain_key

uint64_t bc_stob_domain_key

Stob domain key for BE stobs. Stob domain with this key is created at m0_be_domain_cfg::bc_stob_domain_location.

Definition at line 116 of file domain.h.

◆ bc_stob_domain_location

const char* bc_stob_domain_location

Stob domain location. Stobs for log and segments are in this domain.

Definition at line 87 of file domain.h.

◆ bc_zone_pcnt

uint32_t bc_zone_pcnt[M0_BAP_NR]

Percent of free space to be reserved for every allocator memory zone. The sum of all array elements should be 100.

Definition at line 103 of file domain.h.


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