Motr  M0
m0_pool_spare_usage Struct Reference

#include <pool.h>

Collaboration diagram for m0_pool_spare_usage:
Collaboration graph

Public Member Functions

uint32_t psu_device_state M0_XCA_FENUM (m0_pool_nd_state)
 

Data Fields

struct m0_format_header psu_header
 
uint32_t psu_device_index
 
struct m0_format_footer psu_footer
 

Detailed Description

Tracking spare slot usage. If spare slot is not used for repair/rebalance, its :psp_device_index is -1.

Definition at line 474 of file pool.h.

Member Function Documentation

◆ M0_XCA_FENUM()

uint32_t psu_device_state M0_XCA_FENUM ( m0_pool_nd_state  )

state of the device to use this spare slot

Field Documentation

◆ psu_device_index

uint32_t psu_device_index

Index of the device from m0_poolmach_state::pst_devices_array in the pool associated with this spare slot.

Definition at line 480 of file pool.h.

◆ psu_footer

struct m0_format_footer psu_footer

Definition at line 484 of file pool.h.

◆ psu_header

struct m0_format_header psu_header

Definition at line 475 of file pool.h.


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