Motr
M0
|
#include <instance.h>
Data Fields | |
uint64_t | i_dep_gen |
struct m0_module | i_self |
void * | i_moddata [M0_MODULE_NR] |
struct m0_inst_lockers | i_lockers |
struct m0_tl | i_param_sources |
struct m0_ha_module * | i_ha_module |
struct m0_ha * | i_ha |
struct m0_ha_link * | i_ha_link |
struct m0_ha_note_handler * | i_note_handler |
struct m0_ha_fvec_handler * | i_fvec_handler |
struct m0_fdmi_module | i_fdmi_module |
struct m0_stob_module | i_stob_module |
struct m0_stob_ad_module | i_stob_ad_module |
struct m0_ut_stob_module | i_ut_stob_module |
struct m0_poolmach_state * | i_pool_module |
struct m0_storage_devs | i_storage_devs |
bool | i_storage_is_fake |
bool | i_reqh_uses_ad_stob |
bool | i_disable_addb2_storage |
unsigned | i_ios_cdom_key |
unsigned | i_mds_cdom_key |
unsigned | i_actrec_dom_key |
unsigned | i_dtm0_log_key |
struct m0_proc_attr | i_proc_attr |
m0 instance.
All "global" variables are accessible from this struct.
Each module belongs to exactly one instance.
m0 instance is allocated and initialised by external user. There are three use cases:
Definition at line 80 of file instance.h.
unsigned i_actrec_dom_key |
Key for active rec domain
Definition at line 139 of file instance.h.
uint64_t i_dep_gen |
Generation counter, modified each time a module or dependency is added. Used to detect when initialisation should re-start.
Definition at line 86 of file instance.h.
bool i_disable_addb2_storage |
Definition at line 133 of file instance.h.
unsigned i_dtm0_log_key |
Key for dtm0 log
Definition at line 141 of file instance.h.
struct m0_fdmi_module i_fdmi_module |
Definition at line 118 of file instance.h.
struct m0_ha_fvec_handler* i_fvec_handler |
Definition at line 112 of file instance.h.
struct m0_ha* i_ha |
Definition at line 108 of file instance.h.
struct m0_ha_link* i_ha_link |
Definition at line 110 of file instance.h.
struct m0_ha_module* i_ha_module |
Definition at line 107 of file instance.h.
unsigned i_ios_cdom_key |
Key for ioservice cob domain
Definition at line 135 of file instance.h.
struct m0_inst_lockers i_lockers |
Non-standard modules (i.e. those not mentioned in m0_module_id) may store their data here.
Definition at line 99 of file instance.h.
unsigned i_mds_cdom_key |
Key for mdservice cob domain
Definition at line 137 of file instance.h.
void* i_moddata[M0_MODULE_NR] |
Definition at line 94 of file instance.h.
struct m0_ha_note_handler* i_note_handler |
Definition at line 111 of file instance.h.
struct m0_tl i_param_sources |
List of m0_param_source-s, linked through m0_param_source::ps_link.
Definition at line 105 of file instance.h.
struct m0_poolmach_state* i_pool_module |
Definition at line 122 of file instance.h.
struct m0_proc_attr i_proc_attr |
Process attributes - memory limits and core mask
Definition at line 143 of file instance.h.
bool i_reqh_uses_ad_stob |
Definition at line 132 of file instance.h.
struct m0_module i_self |
Module representing this instance.
Definition at line 88 of file instance.h.
struct m0_stob_ad_module i_stob_ad_module |
Definition at line 120 of file instance.h.
struct m0_stob_module i_stob_module |
Definition at line 119 of file instance.h.
struct m0_storage_devs i_storage_devs |
Definition at line 123 of file instance.h.
bool i_storage_is_fake |
Is true iff ioservice performs all operations with specific storage device M0_SDEV_CID_DEFAULT regardless of the cob_fid values. Such behaviour is used only by tests and should be removed.
Definition at line 131 of file instance.h.
struct m0_ut_stob_module i_ut_stob_module |
Definition at line 121 of file instance.h.