Motr
M0
|
![]() |
Data Structures | |
struct | m0_reqh_fdmi_svc_params |
struct | m0_reqh_fdmi_service |
Macros | |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_FDMI |
Enumerations | |
enum | m0_fdmi_dock_type_id { M0_FDMI_DOCK_TYPE_SOURCE = 0, M0_FDMI_DOCK_TYPE_PLUGIN, M0_FDMI_DOCK_TYPE_NR } |
enum | m0_fdmi_rec_type_id { M0_FDMI_REC_TYPE_TEST = 0x100, M0_FDMI_REC_TYPE_FOL = 0x1000, M0_FDMI_REC_TYPE_ADDB } |
Functions | |
M0_INTERNAL int | m0_fdmi_init (void) |
M0_INTERNAL void | m0_fdmi_fini (void) |
M0_INTERNAL struct m0_fdmi_src_dock * | m0_fdmi_src_dock_get (void) |
static int | fdms_allocate (struct m0_reqh_service **service, const struct m0_reqh_service_type *stype) |
static void | fdms_fini (struct m0_reqh_service *service) |
static int | fdms_start (struct m0_reqh_service *service) |
static void | fdms_prepare_to_stop (struct m0_reqh_service *service) |
static void | fdms_stop (struct m0_reqh_service *service) |
M0_INTERNAL int | m0_fdms_register (void) |
M0_INTERNAL void | m0_fdms_unregister (void) |
Variables | |
static const struct m0_reqh_service_type_ops | fdms_type_ops |
static const struct m0_reqh_service_ops | fdms_ops |
M0_INTERNAL struct m0_reqh_service_type | m0_fdmi_service_type |
FDMI service runs as a part of Motr instance. FDMI service stores context data for both FDMI source dock and FDMI plugin dock. FDMI service is initialized and started on Motr instance start up, FDMI Source dock and FDMI plugin dock are managed separately, and specific API is provided for this purposes.
enum m0_fdmi_dock_type_id |
FDMI dock type
Indicates what role FDMI service is to initiate. Initiation results in dock envirinment setup, including specific FOM, RPC, queues, etc.
Note: Motr node is allowed to have both roles initialized simultaneously.
Enumerator | |
---|---|
M0_FDMI_DOCK_TYPE_SOURCE | |
M0_FDMI_DOCK_TYPE_PLUGIN | |
M0_FDMI_DOCK_TYPE_NR |
enum m0_fdmi_rec_type_id |
|
static |
|
static |
|
static |
|
static |
|
static |
M0_INTERNAL void m0_fdmi_fini | ( | void | ) |
M0_INTERNAL int m0_fdmi_init | ( | void | ) |
M0_INTERNAL struct m0_fdmi_src_dock* m0_fdmi_src_dock_get | ( | void | ) |
M0_INTERNAL int m0_fdms_register | ( | void | ) |
M0_INTERNAL void m0_fdms_unregister | ( | void | ) |
|
static |
FDMI Service operations.
|
static |
FDMI Service type operations.
M0_INTERNAL struct m0_reqh_service_type m0_fdmi_service_type |