Motr
M0
|
#include <reqh_service.h>
Data Fields | |
const char * | rst_name |
const struct m0_reqh_service_type_ops * | rst_ops |
unsigned | rst_key |
unsigned | rst_level |
bool | rst_keep_alive |
enum m0_conf_service_type | rst_typecode |
struct m0_tlink | rst_linkage |
uint64_t | rst_magix |
Represents a particular service type. A m0_reqh_service_type instance is initialised and registered into a global list of service types as a part of corresponding module initialisation process.
Definition at line 446 of file reqh_service.h.
bool rst_keep_alive |
Flag for keeping service alive due to its vital role in cluster communication. A service of the flagged type won't be allowed to shut down until REQH goes down itself.
Example: "process quiesce" Spiel command does not affect services of the type.
Definition at line 466 of file reqh_service.h.
unsigned rst_key |
Reqh key to store and locate m0_reqh_service instance.
Definition at line 456 of file reqh_service.h.
unsigned rst_level |
Definition at line 457 of file reqh_service.h.
struct m0_tlink rst_linkage |
Linkage into global service types list.
Definition at line 478 of file reqh_service.h.
uint64_t rst_magix |
Definition at line 479 of file reqh_service.h.
const char* rst_name |
Definition at line 447 of file reqh_service.h.
const struct m0_reqh_service_type_ops* rst_ops |
Service type operations.
Definition at line 450 of file reqh_service.h.
enum m0_conf_service_type rst_typecode |
Configuration service type
Definition at line 471 of file reqh_service.h.