Motr  M0
pvers.h File Reference
#include "conf/obj.h"
#include "conf/confc.h"
Include dependency graph for pvers.h:

Go to the source code of this file.

Data Structures

struct  m0_conf_pver_info
 

Macros

#define __MOTR_CONF_PVERS_H__
 

Enumerations

enum  m0_conf_pver_state {
  M0_CPS_HEALTHY, M0_CPS_DEGRADED, M0_CPS_CRITICAL, M0_CPS_DAMAGED,
  M0_CPS_NR
}
 

Functions

int m0_conf_pver_status (struct m0_fid *fid, struct m0_confc *confc, struct m0_conf_pver_info *out_info)
 
M0_INTERNAL int m0_conf_pver_find (const struct m0_conf_pool *pool, const struct m0_fid *pver_to_skip, struct m0_conf_pver **out)
 
M0_INTERNAL int m0_conf_pver_find_by_fid (const struct m0_fid *fid, const struct m0_conf_root *root, struct m0_conf_pver **out)
 
M0_INTERNAL int m0_conf_pver_formulaic_find (uint32_t fpver_id, const struct m0_conf_root *root, const struct m0_conf_pver **out)
 
M0_INTERNAL int m0_conf_pver_formulaic_from_virtual (const struct m0_conf_pver *virtual, const struct m0_conf_root *root, const struct m0_conf_pver **out)
 
M0_INTERNAL bool m0_conf_pver_is_clean (const struct m0_conf_pver *pver)
 
M0_INTERNAL struct m0_fid m0_conf_pver_fid (enum m0_conf_pver_kind kind, uint64_t container, uint64_t key)
 
M0_INTERNAL int m0_conf_pver_fid_read (const struct m0_fid *fid, enum m0_conf_pver_kind *kind, uint64_t *container, uint64_t *key)
 
M0_INTERNAL unsigned m0_conf_pver_level (const struct m0_conf_obj *obj)
 

Macro Definition Documentation

◆ __MOTR_CONF_PVERS_H__

#define __MOTR_CONF_PVERS_H__

Definition at line 23 of file pvers.h.