Motr  M0
m0_be_engine_cfg Struct Reference

#include <engine.h>

Collaboration diagram for m0_be_engine_cfg:
Collaboration graph

Data Fields

uint64_t bec_tx_active_max
 
size_t bec_group_nr
 
struct m0_be_tx_group_cfg bec_group_cfg
 
struct m0_be_tx_credit bec_tx_size_max
 
m0_bcount_t bec_tx_payload_max
 
m0_time_t bec_group_freeze_timeout_min
 
m0_time_t bec_group_freeze_timeout_max
 
m0_time_t bec_group_freeze_timeout_limit
 
struct m0_reqhbec_reqh
 
bool bec_wait_for_recovery
 
struct m0_be_domainbec_domain
 
struct m0_be_log_discardbec_log_discard
 
struct m0_be_pdbec_pd
 
struct m0_be_tx_group_cfgbec_groups_cfg
 
struct m0_mutexbec_lock
 

Detailed Description

Definition at line 54 of file engine.h.

Field Documentation

◆ bec_domain

struct m0_be_domain* bec_domain

BE domain the engine belongs to.

Definition at line 88 of file engine.h.

◆ bec_group_cfg

struct m0_be_tx_group_cfg bec_group_cfg

Group configuration.

The following fields should be set by the user:

Definition at line 71 of file engine.h.

◆ bec_group_freeze_timeout_limit

m0_time_t bec_group_freeze_timeout_limit

Definition at line 82 of file engine.h.

◆ bec_group_freeze_timeout_max

m0_time_t bec_group_freeze_timeout_max

Definition at line 81 of file engine.h.

◆ bec_group_freeze_timeout_min

m0_time_t bec_group_freeze_timeout_min

Definition at line 80 of file engine.h.

◆ bec_group_nr

size_t bec_group_nr

Number of groups.

Definition at line 61 of file engine.h.

◆ bec_groups_cfg

struct m0_be_tx_group_cfg* bec_groups_cfg

Configuration for each group. It is set by the engine.

Definition at line 92 of file engine.h.

◆ bec_lock

struct m0_mutex* bec_lock

The engine lock. Protects all fields of m0_be_engine.

Definition at line 94 of file engine.h.

◆ bec_log_discard

struct m0_be_log_discard* bec_log_discard

Definition at line 89 of file engine.h.

◆ bec_pd

struct m0_be_pd* bec_pd

Definition at line 90 of file engine.h.

◆ bec_reqh

struct m0_reqh* bec_reqh

Request handler for group foms and engine timeouts

Definition at line 84 of file engine.h.

◆ bec_tx_active_max

uint64_t bec_tx_active_max

Number of transactions in ACTIVE state couldn't exceed this value, even if more transactions could be added to a group.

Definition at line 59 of file engine.h.

◆ bec_tx_payload_max

m0_bcount_t bec_tx_payload_max

Maximum transaction payload size.

Definition at line 75 of file engine.h.

◆ bec_tx_size_max

struct m0_be_tx_credit bec_tx_size_max

Maximum transaction size.

Definition at line 73 of file engine.h.

◆ bec_wait_for_recovery

bool bec_wait_for_recovery

Wait in m0_be_engine_start() until recovery is finished.

Definition at line 86 of file engine.h.


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