Motr  M0
m0_rm_ha_tracker Struct Reference

#include <rm_ha.h>

Collaboration diagram for m0_rm_ha_tracker:
Collaboration graph

Data Fields

struct m0_clink rht_clink
 
struct m0_clink rht_conf_exp
 
char * rht_ep
 
enum m0_ha_obj_state rht_state
 

Detailed Description

Structure to store information related to subscription. It is provided by user and used during subscription/unsubscription.

Definition at line 99 of file rm_ha.h.

Field Documentation

◆ rht_clink

struct m0_clink rht_clink

Clink to be attached to conf object which death is to be informed by means of HA notification.

Definition at line 104 of file rm_ha.h.

◆ rht_conf_exp

struct m0_clink rht_conf_exp

Clink attaches to m0_reqh::rh_conf_cache_exp and tracks "configuration expired" event. When it is fired, the tracker must unsubscribe from m0_conf_obj::co_ha_chan. It is possible to enter a dangerous time slice on unsubscription when remote death is not monitored while resource credits still held. This is going to be solved later by differential conf delivery.

Definition at line 113 of file rm_ha.h.

◆ rht_ep

char* rht_ep

Once subscribed to remote's death notification from HA, the remote endpoint is kept until unsubscription.

Definition at line 118 of file rm_ha.h.

◆ rht_state

enum m0_ha_obj_state rht_state

Last known state of the remote owner.

Definition at line 122 of file rm_ha.h.


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