Motr  M0
m0_be_log_store_cfg Struct Reference

#include <log_store.h>

Collaboration diagram for m0_be_log_store_cfg:
Collaboration graph

Data Fields

struct m0_stob_id lsc_stob_id
 
char * lsc_stob_domain_location
 
const char * lsc_stob_domain_init_cfg
 
uint64_t lsc_stob_domain_key
 
const char * lsc_stob_domain_create_cfg
 
m0_bcount_t lsc_size
 
const char * lsc_stob_create_cfg
 
bool lsc_stob_dont_zero
 
unsigned lsc_rbuf_nr
 
m0_bcount_t lsc_rbuf_size
 

Detailed Description

Definition at line 130 of file log_store.h.

Field Documentation

◆ lsc_rbuf_nr

unsigned lsc_rbuf_nr

Number of redundant buffers.

Definition at line 180 of file log_store.h.

◆ lsc_rbuf_size

m0_bcount_t lsc_rbuf_size

Size of redundant buffer.

Definition at line 182 of file log_store.h.

◆ lsc_size

m0_bcount_t lsc_size

Total size of backing stob.

Definition at line 171 of file log_store.h.

◆ lsc_stob_create_cfg

const char* lsc_stob_create_cfg

m0_stob_create() 3rd parameter for the backing store stob.

Definition at line 173 of file log_store.h.

◆ lsc_stob_domain_create_cfg

const char* lsc_stob_domain_create_cfg

4rd parameter for m0_stob_domain_create() for stob domain with lsc_stob_domain_location location.

Temporary solution.

Definition at line 168 of file log_store.h.

◆ lsc_stob_domain_init_cfg

const char* lsc_stob_domain_init_cfg

2nd parameter for m0_stob_domain_init() and m0_stob_domain_create().

Definition at line 148 of file log_store.h.

◆ lsc_stob_domain_key

uint64_t lsc_stob_domain_key

Key for stob domain with lsc_stob_domain_location location.

Temporary solution.

Definition at line 161 of file log_store.h.

◆ lsc_stob_domain_location

char* lsc_stob_domain_location

Backing store stob domain location. Temporary solution until paged implemented.

The problem is that m0_stob_domain has per-domain direct I/O configuration. m0_be_log_store can (and should) use stobs with direct I/O enabled, but m0_be_seg can't use such stobs.

Definition at line 144 of file log_store.h.

◆ lsc_stob_dont_zero

bool lsc_stob_dont_zero

Don't zero stob after creation. It avoids unnecessary I/O when the stob is already zeroed.

Definition at line 178 of file log_store.h.

◆ lsc_stob_id

struct m0_stob_id lsc_stob_id

Definition at line 135 of file log_store.h.


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