Motr  M0
m0_reqh_service_type Struct Reference

#include <reqh_service.h>

Collaboration diagram for m0_reqh_service_type:
Collaboration graph

Data Fields

const char * rst_name
 
const struct m0_reqh_service_type_opsrst_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
 

Detailed Description

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.

See also
m0_reqh_service_type_init()

Definition at line 446 of file reqh_service.h.

Field Documentation

◆ rst_keep_alive

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.

◆ rst_key

unsigned rst_key

Reqh key to store and locate m0_reqh_service instance.

See also
m0_reqh::rh_key

Definition at line 456 of file reqh_service.h.

◆ rst_level

unsigned rst_level

Definition at line 457 of file reqh_service.h.

◆ rst_linkage

struct m0_tlink rst_linkage

Linkage into global service types list.

See also
m0_rstypes

Definition at line 478 of file reqh_service.h.

◆ rst_magix

uint64_t rst_magix

Definition at line 479 of file reqh_service.h.

◆ rst_name

const char* rst_name

Definition at line 447 of file reqh_service.h.

◆ rst_ops

const struct m0_reqh_service_type_ops* rst_ops

Service type operations.

Definition at line 450 of file reqh_service.h.

◆ rst_typecode

enum m0_conf_service_type rst_typecode

Configuration service type

See also
m0_conf_service::cs_type

Definition at line 471 of file reqh_service.h.


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