Motr  M0
m0_reqh_context Struct Reference

#include <setup.h>

Collaboration diagram for m0_reqh_context:
Collaboration graph

Data Fields

const char * rc_stpath
 
const char * rc_addb_stlocation
 
const char * rc_dfilepath
 
const char * rc_stype
 
const char * rc_bepath
 
char ** rc_services
 
struct m0_fidrc_service_fids
 
uint32_t rc_nr_services
 
struct m0_tl rc_eps
 
enum cs_reqh_ctx_states rc_state
 
struct cs_stobs rc_stob
 
struct m0_be_ut_backend rc_be
 
struct m0_be_segrc_beseg
 
struct m0_dtm0_domain rc_dtm0_domain
 
const char * rc_be_log_path
 
const char * rc_be_seg0_path
 
const char * rc_be_seg_path
 
m0_bcount_t rc_be_seg_size
 
m0_bcount_t rc_be_log_size
 
m0_bcount_t rc_be_tx_group_tx_nr_max
 
m0_bcount_t rc_be_tx_group_reg_nr_max
 
m0_bcount_t rc_be_tx_group_reg_size_max
 
m0_bcount_t rc_be_tx_group_payload_size_max
 
m0_bcount_t rc_be_tx_reg_nr_max
 
m0_bcount_t rc_be_tx_reg_size_max
 
m0_bcount_t rc_be_tx_payload_size_max
 
m0_time_t rc_be_tx_group_freeze_timeout_min
 
m0_time_t rc_be_tx_group_freeze_timeout_max
 
const char * rc_confdb
 
struct m0_mdstore rc_mdstore
 
struct m0_cob_domain_id rc_cdom_id
 
struct m0_folrc_fol
 
struct m0_reqh rc_reqh
 
uint64_t rc_magix
 
struct m0_motrrc_motr
 
uint32_t rc_recv_queue_min_length
 
uint32_t rc_max_rpc_msg_size
 
bool rc_be_seg_preallocate
 
struct m0_fid rc_fid
 
bool rc_disable_direct_io
 
bool rc_fis_enabled
 
m0_bcount_t rc_addb_record_file_size
 

Detailed Description

Represents a request handler environment. It contains configuration information about the various global entities to be configured and their corresponding instances that are needed to be initialised before the request handler is started, which by itself is contained in the same structure.

Definition at line 229 of file setup.h.

Field Documentation

◆ rc_addb_record_file_size

m0_bcount_t rc_addb_record_file_size

ADDB Record Max record size in bytes

Definition at line 347 of file setup.h.

◆ rc_addb_stlocation

const char* rc_addb_stlocation

ADDB Storage location for request handler ADDB machine

Definition at line 234 of file setup.h.

◆ rc_be

struct m0_be_ut_backend rc_be

BE env and segment used by the request handler

Definition at line 267 of file setup.h.

◆ rc_be_log_path

const char* rc_be_log_path

Path to BE log, seg0 and primary segment. File in BE domain stob domain is used if for those are NULL.

Definition at line 276 of file setup.h.

◆ rc_be_log_size

m0_bcount_t rc_be_log_size

Definition at line 281 of file setup.h.

◆ rc_be_seg0_path

const char* rc_be_seg0_path

Definition at line 277 of file setup.h.

◆ rc_be_seg_path

const char* rc_be_seg_path

Definition at line 278 of file setup.h.

◆ rc_be_seg_preallocate

bool rc_be_seg_preallocate

Preallocate an entire stob for db emulation BE segment

Definition at line 335 of file setup.h.

◆ rc_be_seg_size

m0_bcount_t rc_be_seg_size

BE primary segment size for m0mkfs.

Definition at line 280 of file setup.h.

◆ rc_be_tx_group_freeze_timeout_max

m0_time_t rc_be_tx_group_freeze_timeout_max

Definition at line 290 of file setup.h.

◆ rc_be_tx_group_freeze_timeout_min

m0_time_t rc_be_tx_group_freeze_timeout_min

Definition at line 289 of file setup.h.

◆ rc_be_tx_group_payload_size_max

m0_bcount_t rc_be_tx_group_payload_size_max

Definition at line 285 of file setup.h.

◆ rc_be_tx_group_reg_nr_max

m0_bcount_t rc_be_tx_group_reg_nr_max

Definition at line 283 of file setup.h.

◆ rc_be_tx_group_reg_size_max

m0_bcount_t rc_be_tx_group_reg_size_max

Definition at line 284 of file setup.h.

◆ rc_be_tx_group_tx_nr_max

m0_bcount_t rc_be_tx_group_tx_nr_max

Definition at line 282 of file setup.h.

◆ rc_be_tx_payload_size_max

m0_bcount_t rc_be_tx_payload_size_max

Definition at line 288 of file setup.h.

◆ rc_be_tx_reg_nr_max

m0_bcount_t rc_be_tx_reg_nr_max

Definition at line 286 of file setup.h.

◆ rc_be_tx_reg_size_max

m0_bcount_t rc_be_tx_reg_size_max

Definition at line 287 of file setup.h.

◆ rc_bepath

const char* rc_bepath

BE environment path for request handler context.

Definition at line 243 of file setup.h.

◆ rc_beseg

struct m0_be_seg* rc_beseg

Definition at line 268 of file setup.h.

◆ rc_cdom_id

struct m0_cob_domain_id rc_cdom_id

Definition at line 306 of file setup.h.

◆ rc_confdb

const char* rc_confdb

Default path to the configuration database.

If confd is started by "sss" service (dynamically) and m0_sssservice_req::ss_param is not empty, then the value of m0_sssservice_req::ss_param will be used as conf DB path.

See also
m0_reqh_service::rs_ss_param

Definition at line 301 of file setup.h.

◆ rc_dfilepath

const char* rc_dfilepath

Path to device configuration file.

Definition at line 237 of file setup.h.

◆ rc_disable_direct_io

bool rc_disable_direct_io

Disable direct I/O for data from clients

Definition at line 341 of file setup.h.

◆ rc_dtm0_domain

struct m0_dtm0_domain rc_dtm0_domain

Definition at line 270 of file setup.h.

◆ rc_eps

struct m0_tl rc_eps

Endpoints and xprts per request handler context.

Definition at line 255 of file setup.h.

◆ rc_fid

struct m0_fid rc_fid

Process FID

Definition at line 338 of file setup.h.

◆ rc_fis_enabled

bool rc_fis_enabled

Enable Fault Injection Service

Definition at line 344 of file setup.h.

◆ rc_fol

struct m0_fol* rc_fol

File operation log for a request handler

Definition at line 309 of file setup.h.

◆ rc_magix

uint64_t rc_magix

Reqh context magic

Definition at line 315 of file setup.h.

◆ rc_max_rpc_msg_size

uint32_t rc_max_rpc_msg_size

Maximum RPC message size. Default value is set to m0_motr::cc_max_rpc_msg_size If value of cc_max_rpc_msg_size is zero then value from m0_net_domain_get_max_buffer_size() is used.

Definition at line 332 of file setup.h.

◆ rc_mdstore

struct m0_mdstore rc_mdstore

Cob domain to be used by the request handler

Definition at line 304 of file setup.h.

◆ rc_motr

struct m0_motr* rc_motr

Backlink to struct m0_motr.

Definition at line 318 of file setup.h.

◆ rc_nr_services

uint32_t rc_nr_services

Number of services configured in request handler context.

Definition at line 252 of file setup.h.

◆ rc_recv_queue_min_length

uint32_t rc_recv_queue_min_length

Minimum number of buffers in TM receive queue. Default is set to m0_motr::cc_recv_queue_min_length

Definition at line 324 of file setup.h.

◆ rc_reqh

struct m0_reqh rc_reqh

Request handler instance to be initialised

Definition at line 312 of file setup.h.

◆ rc_service_fids

struct m0_fid* rc_service_fids

Service fids

Definition at line 249 of file setup.h.

◆ rc_services

char** rc_services

Services running in request handler context.

Definition at line 246 of file setup.h.

◆ rc_state

enum cs_reqh_ctx_states rc_state

State of a request handler context, i.e. RC_INITIALISED or RC_UNINTIALISED.

Definition at line 261 of file setup.h.

◆ rc_stob

struct cs_stobs rc_stob

Storage domain for a request handler

Definition at line 264 of file setup.h.

◆ rc_stpath

const char* rc_stpath

Storage path for request handler context.

Definition at line 231 of file setup.h.

◆ rc_stype

const char* rc_stype

Type of storage to be initialised.

Definition at line 240 of file setup.h.


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