Motr  M0
m0_pool_version Struct Reference

#include <pool.h>

Collaboration diagram for m0_pool_version:
Collaboration graph

Data Fields

struct m0_fid pv_id
 
bool pv_is_dirty
 
bool pv_is_stale
 
struct m0_pdclust_attr pv_attr
 
uint32_t pv_nr_nodes
 
struct m0_poolpv_pool
 
struct m0_pools_commonpv_pc
 
struct m0_poolmach pv_mach
 
struct m0_fd_tile pv_fd_tile
 
struct m0_fd_tree pv_fd_tree
 
uint32_t pv_fd_tol_vec [M0_CONF_PVER_HEIGHT]
 
uint32_t pv_sns_flags
 
struct m0_tlink pv_linkage
 
uint64_t pv_magic
 

Detailed Description

Pool version is the subset of devices from the filesystem configuration: racks, controllers, disks, etc. If the whole cluster hardware configuration is represented as a tree, the pool version would be its sub-tree.

Motr objects and indexes are assigned some pool version when they are created.

Pool version is associated with a pool machine and contains a device to ioservice map.

Definition at line 112 of file pool.h.

Field Documentation

◆ pv_attr

struct m0_pdclust_attr pv_attr

Layout attributes associated with this pool version.

Definition at line 122 of file pool.h.

◆ pv_fd_tile

struct m0_fd_tile pv_fd_tile

Definition at line 136 of file pool.h.

◆ pv_fd_tol_vec

uint32_t pv_fd_tol_vec[M0_CONF_PVER_HEIGHT]

The tolerance vector associated with the pool version.

Definition at line 141 of file pool.h.

◆ pv_fd_tree

struct m0_fd_tree pv_fd_tree

Definition at line 139 of file pool.h.

◆ pv_id

struct m0_fid pv_id

Definition at line 113 of file pool.h.

◆ pv_is_dirty

bool pv_is_dirty

pool version ditry flag.

Definition at line 116 of file pool.h.

◆ pv_is_stale

bool pv_is_stale

Is pool version present in the conf cache?

Definition at line 119 of file pool.h.

◆ pv_linkage

struct m0_tlink pv_linkage

Linkage into list of pool versions.

See also
struct m0_pool::po_vers

Definition at line 149 of file pool.h.

◆ pv_mach

struct m0_poolmach pv_mach

Pool machine associated with this pool version.

Definition at line 133 of file pool.h.

◆ pv_magic

uint64_t pv_magic

M0_POOL_VERSION_MAGIC

Definition at line 152 of file pool.h.

◆ pv_nr_nodes

uint32_t pv_nr_nodes

Total number of nodes in this pool version.

Definition at line 125 of file pool.h.

◆ pv_pc

struct m0_pools_common* pv_pc

Definition at line 130 of file pool.h.

◆ pv_pool

struct m0_pool* pv_pool

Base pool of this pool version.

Definition at line 128 of file pool.h.

◆ pv_sns_flags

uint32_t pv_sns_flags

Definition at line 143 of file pool.h.


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