Motr  M0
m0_poolnode Struct Reference

#include <pool.h>

Collaboration diagram for m0_poolnode:
Collaboration graph

Public Member Functions

uint32_t pn_state M0_XCA_FENUM (m0_pool_nd_state)
 

Data Fields

struct m0_format_header pn_header
 
char pn_pad [4]
 
struct m0_fid pn_id
 
struct m0_poolmachpn_pm
 
uint32_t pn_index
 
struct m0_be_clink pn_clink
 
struct m0_format_footer pn_footer
 

Detailed Description

pool node. Data structure representing a node in a pool.

Pool node and pool server are two different views of the same physical entity. A pool node is how a server looks "externally" to other nodes. "struct poolnode" represents a particular server on other servers. E.g., when a new server is added to the pool, "struct poolnode" is created on every server in the pool. "struct poolserver", on the other hand, represents a server state machine locally on the server where it runs.

See also
pool server

Definition at line 390 of file pool.h.

Member Function Documentation

◆ M0_XCA_FENUM()

uint32_t pn_state M0_XCA_FENUM ( m0_pool_nd_state  )

Field Documentation

◆ pn_clink

struct m0_be_clink pn_clink

Link to receive HA state change notification. This will wait on node obj's wait channel i.e. m0_conf_obj::co_ha_chan.

Definition at line 404 of file pool.h.

◆ pn_footer

struct m0_format_footer pn_footer

Definition at line 405 of file pool.h.

◆ pn_header

struct m0_format_header pn_header

Definition at line 391 of file pool.h.

◆ pn_id

struct m0_fid pn_id

Pool node identity.

Definition at line 395 of file pool.h.

◆ pn_index

uint32_t pn_index

poolnode index in the poolmachine-state node array

Definition at line 399 of file pool.h.

◆ pn_pad

char pn_pad[4]

Definition at line 393 of file pool.h.

◆ pn_pm

struct m0_poolmach* pn_pm

pool machine this poolnode belongs to

Definition at line 397 of file pool.h.


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