Motr
M0
|
#include <pool.h>
Data Fields | |
struct m0_tl | pc_pools |
struct m0_confc * | pc_confc |
struct m0_rpc_machine * | pc_rmach |
struct m0_tl | pc_svc_ctxs |
struct m0_reqh_service_ctx ** | pc_mds_map |
struct m0_reqh_service_ctx * | pc_rm_ctx |
uint64_t | pc_nr_svcs [M0_CST_NR] |
uint32_t | pc_nr_devices |
struct m0_pool_device_to_service * | pc_dev2svc |
uint32_t | pc_md_redundancy |
struct m0_pool * | pc_md_pool |
struct m0_layout_instance * | pc_md_pool_linst |
struct m0_ha_entrypoint_client * | pc_ha_ecl |
struct m0_clink | pc_ha_clink |
struct m0_mutex | pc_rm_lock |
struct m0_pool_version * | pc_cur_pver |
struct m0_mutex | pc_mutex |
struct m0_tl | pc_abandoned_svc_ctxs |
struct m0_clink | pc_conf_exp |
struct m0_clink | pc_conf_ready_async |
struct m0_pool * | pc_dix_pool |
Contains resources that are shared among the pools in the filesystem. In-memory references for members should be used under pc_mutex lock as due to configuration expiration they may be updated, and long term users should subscribe with rconfc update channels.
struct m0_tl pc_abandoned_svc_ctxs |
struct m0_clink pc_conf_exp |
struct m0_clink pc_conf_ready_async |
struct m0_pool_version* pc_cur_pver |
struct m0_pool_device_to_service* pc_dev2svc |
An array of size of pc_nr_devices. Maps device to IOS/CAS service: dev_idx -> (service_ctx, sdev_fid) Each pc_dev2svc[i] entry points to instance of struct m0_reqh_service_ctx which has established rpc connections with the given service endpoints.
struct m0_pool* pc_dix_pool |
struct m0_ha_entrypoint_client* pc_ha_ecl |
struct m0_pool* pc_md_pool |
struct m0_layout_instance* pc_md_pool_linst |
struct m0_reqh_service_ctx** pc_mds_map |
Array of pools_common_svc_ctx_tlist_length() valid elements. The array size is same as the total number of service contexts, pc_mds_map[i] points to m0_reqh_service_ctx of mdservice whose index is i.
uint32_t pc_nr_devices |
uint64_t pc_nr_svcs[M0_CST_NR] |
struct m0_reqh_service_ctx* pc_rm_ctx |
struct m0_rpc_machine* pc_rmach |
struct m0_tl pc_svc_ctxs |
List of m0_reqh_service_ctx objects hanging using sc_link. tlist descriptor: svc_ctx_tl