|
Motr
M0
|
#include <pool.h>

Public Member Functions | |
| uint32_t pd_state | M0_XCA_FENUM (m0_pool_nd_state) |
Data Fields | |
| struct m0_format_header | pd_header |
| char | pd_pad [4] |
| struct m0_fid | pd_id |
| struct m0_fid | pd_sdev_fid |
| uint32_t | pd_index |
| uint32_t | pd_sdev_idx |
| struct m0_poolnode * | pd_node |
| struct m0_poolmach * | pd_pm |
| struct m0_be_clink | pd_clink |
| struct m0_tlink | pd_fail_linkage |
| uint64_t | pd_magic |
| struct m0_format_footer | pd_footer |
| uint32_t pd_state M0_XCA_FENUM | ( | m0_pool_nd_state | ) |
device state (as part of pool machine state). This field is only meaningful when m0_pooldev::pd_node.pn_state is PNS_ONLINE
| struct m0_be_clink pd_clink |
Link to receive HA state change notification. This will wait on disk obj's wait channel i.e. m0_conf_obj::co_ha_chan.
| struct m0_tlink pd_fail_linkage |
Link into list of failed devices in the pool.
| struct m0_format_footer pd_footer |
| struct m0_format_header pd_header |
| uint32_t pd_index |
| struct m0_poolnode* pd_node |
| struct m0_poolmach* pd_pm |
| uint32_t pd_sdev_idx |
storage device index between 1 to total number of devices in the filesystem, get from m0_conf_sdev:sd_dev_idx.