25 #ifndef __MOTR_SPIEL_SPIEL_H__ 26 #define __MOTR_SPIEL_SPIEL_H__ 394 const struct m0_fid *rootfid,
395 const struct m0_fid *mdpool,
396 const struct m0_fid *imeta_pver,
397 uint32_t mdredundancy,
429 const struct m0_fid *parent,
431 uint64_t memlimit_as,
432 uint64_t memlimit_rss,
433 uint64_t memlimit_stack,
434 uint64_t memlimit_memlock,
435 const char *endpoint);
458 const struct m0_fid *parent,
478 const struct m0_fid *parent,
479 const struct m0_fid *drive,
507 const struct m0_fid *parent);
519 const struct m0_fid *parent,
531 const struct m0_fid *parent);
542 const struct m0_fid *parent);
556 uint32_t pver_policy);
585 const struct m0_fid *parent,
588 uint32_t tolerance_len);
609 const struct m0_fid *parent,
611 const struct m0_fid *base_pver,
613 uint32_t allowance_len);
625 const struct m0_fid *parent,
626 const struct m0_fid *real);
638 const struct m0_fid *parent,
639 const struct m0_fid *real);
651 const struct m0_fid *parent,
652 const struct m0_fid *real);
664 const struct m0_fid *parent,
665 const struct m0_fid *real);
677 const struct m0_fid *parent,
678 const struct m0_fid *real);
851 const struct m0_fid *svc_fid);
866 const struct m0_fid *dev_fid,
962 const char *libname);
984 const struct m0_fid *pool_fid);
986 const struct m0_fid *pool_fid);
990 const struct m0_fid *pool_fid);
1015 const struct m0_fid *pool_fid);
1017 const struct m0_fid *pool_fid);
1021 const struct m0_fid *pool_fid);
1043 const struct m0_fid *pool_fid);
1045 const struct m0_fid *pool_fid);
1049 const struct m0_fid *pool_fid);
1071 const struct m0_fid *pool_fid);
1073 const struct m0_fid *pool_fid);
1077 const struct m0_fid *pool_fid);
1096 const struct m0_fid *pool_fid,
1099 const struct m0_fid *pool_fid,
1104 const struct m0_fid *pool_fid,
1128 const struct m0_fid *pool_fid);
1130 const struct m0_fid *pool_fid);
1134 const struct m0_fid *pool_fid);
1168 const struct m0_fid *pool_fid);
1170 const struct m0_fid *pool_fid);
1174 const struct m0_fid *pool_fid);
1197 const struct m0_fid *pool_fid);
1199 const struct m0_fid *pool_fid);
1203 const struct m0_fid *pool_fid);
1222 const struct m0_fid *pool_fid,
1225 const struct m0_fid *pool_fid,
1230 const struct m0_fid *pool_fid,
1245 const struct m0_fid *pool_fid);
1247 const struct m0_fid *pool_fid);
1251 const struct m0_fid *pool_fid);
int m0_spiel_pool_repair_abort(struct m0_spiel *spl, const struct m0_fid *pool_fid)
unsigned int sss_progress
int m0_spiel_site_add(struct m0_spiel_tx *tx, const struct m0_fid *fid)
int m0_spiel_sns_repair_continue(struct m0_spiel *spl, const struct m0_fid *pool_fid)
int m0_spiel_service_stop(struct m0_spiel *spl, const struct m0_fid *svc_fid)
int m0_spiel_dix_rebalance_start(struct m0_spiel *spl, const struct m0_fid *pool_fid)
struct m0_spiel_bckey ** pc_bckey
int m0_spiel_cmd_profile_set(struct m0_spiel *spiel, const char *profile_str)
int m0_spiel_sns_rebalance_status(struct m0_spiel *spl, const struct m0_fid *pool_fid, struct m0_spiel_repreb_status **statuses)
int m0_spiel_controller_add(struct m0_spiel_tx *tx, const struct m0_fid *fid, const struct m0_fid *parent)
int const char const void size_t int flags
int m0_spiel_enclosure_v_add(struct m0_spiel_tx *tx, const struct m0_fid *fid, const struct m0_fid *parent, const struct m0_fid *real)
int m0_spiel_sns_rebalance_abort(struct m0_spiel *spl, const struct m0_fid *pool_fid)
int m0_spiel_process_quiesce(struct m0_spiel *spl, const struct m0_fid *proc_fid)
int m0_spiel_root_add(struct m0_spiel_tx *tx, const struct m0_fid *rootfid, const struct m0_fid *mdpool, const struct m0_fid *imeta_pver, uint32_t mdredundancy, const char **params)
struct m0_rpc_machine * spc_rmachine
int m0_spiel_node_direct_rebalance_start(struct m0_spiel *spl, const struct m0_fid *node)
int m0_spiel_drive_v_add(struct m0_spiel_tx *tx, const struct m0_fid *fid, const struct m0_fid *parent, const struct m0_fid *real)
int m0_spiel_process_health(struct m0_spiel *spl, const struct m0_fid *proc_fid)
int m0_spiel_service_status(struct m0_spiel *spl, const struct m0_fid *svc_fid, int *status)
void m0_spiel_rconfc_stop(struct m0_spiel *spiel)
static struct net_test_cmd_node * node
unsigned int srs_progress
void(* m0_rconfc_cb_t)(struct m0_rconfc *rconfc)
int m0_spiel_device_attach_state(struct m0_spiel *spl, const struct m0_fid *dev_fid, uint32_t *ha_state)
int m0_spiel_sns_rebalance_continue(struct m0_spiel *spl, const struct m0_fid *pool_fid)
int m0_spiel_pool_rebalance_continue(struct m0_spiel *spl, const struct m0_fid *pool_fid)
m0_bcount_t fs_total_disk
int m0_spiel_profile_pool_add(struct m0_spiel_tx *tx, const struct m0_fid *profile, const struct m0_fid *pool)
const char ** svi_endpoints
int m0_spiel_dix_rebalance_quiesce(struct m0_spiel *spl, const struct m0_fid *pool_fid)
int m0_spiel_dix_repair_start(struct m0_spiel *spl, const struct m0_fid *pool_fid)
int m0_spiel_dix_repair_status(struct m0_spiel *spl, const struct m0_fid *pool_fid, struct m0_spiel_repreb_status **statuses)
int m0_spiel_tx_dump_debug(struct m0_spiel_tx *tx, uint64_t ver_forced, const char *filename)
struct m0_spiel_bcrec ** pc_bcrec
int m0_spiel_pool_repair_start(struct m0_spiel *spl, const struct m0_fid *pool_fid)
int m0_spiel_pool_rebalance_abort(struct m0_spiel *spl, const struct m0_fid *pool_fid)
int m0_spiel_tx_commit_forced(struct m0_spiel_tx *tx, bool forced, uint64_t ver_forced, uint32_t *rquorum)
int m0_spiel_site_v_add(struct m0_spiel_tx *tx, const struct m0_fid *fid, const struct m0_fid *parent, const struct m0_fid *real)
int m0_spiel_device_format(struct m0_spiel *spl, const struct m0_fid *dev_fid)
int m0_spiel_service_init(struct m0_spiel *spl, const struct m0_fid *svc_fid)
int m0_spiel_process_stop(struct m0_spiel *spl, const struct m0_fid *proc_fid)
int m0_spiel_tx_commit(struct m0_spiel_tx *tx)
int m0_spiel_pool_repair_quiesce(struct m0_spiel *spl, const struct m0_fid *pool_fid)
int m0_spiel_rack_v_add(struct m0_spiel_tx *tx, const struct m0_fid *fid, const struct m0_fid *parent, const struct m0_fid *real)
int m0_spiel_process_list_services(struct m0_spiel *spl, const struct m0_fid *proc_fid, struct m0_spiel_running_svc **services)
struct m0_spiel::m0_spiel_core spl_core
int m0_spiel_service_health(struct m0_spiel *spl, const struct m0_fid *svc_fid)
struct m0_fid spc_profile
int m0_spiel_rack_add(struct m0_spiel_tx *tx, const struct m0_fid *fid, const struct m0_fid *parent)
int m0_spiel_tx_dump(struct m0_spiel_tx *tx, uint64_t ver_forced, const char *filename)
int m0_spiel_drive_add(struct m0_spiel_tx *tx, const struct m0_fid *fid, const struct m0_fid *parent)
int m0_spiel_process_reconfig(struct m0_spiel *spl, const struct m0_fid *proc_fid)
M0_INTERNAL int m0_spiel__fs_stats_fetch(struct m0_spiel_core *spc, struct m0_fs_stats *stats)
void m0_spiel_tx_open(struct m0_spiel *spiel, struct m0_spiel_tx *tx)
int m0_spiel_pver_formulaic_add(struct m0_spiel_tx *tx, const struct m0_fid *fid, const struct m0_fid *parent, uint32_t index, const struct m0_fid *base_pver, uint32_t *allowance, uint32_t allowance_len)
void m0_spiel_fini(struct m0_spiel *spiel)
struct m0_confc * spc_confc
int m0_spiel_profile_add(struct m0_spiel_tx *tx, const struct m0_fid *fid)
enum m0_cm_status srs_state
int m0_spiel_init(struct m0_spiel *spiel, struct m0_reqh *reqh)
int m0_spiel_pver_actual_add(struct m0_spiel_tx *tx, const struct m0_fid *fid, const struct m0_fid *parent, const struct m0_pdclust_attr *attrs, uint32_t *tolerance, uint32_t tolerance_len)
int m0_spiel_sns_repair_status(struct m0_spiel *spl, const struct m0_fid *pool_fid, struct m0_spiel_repreb_status **statuses)
int m0_spiel_pool_rebalance_start(struct m0_spiel *spl, const struct m0_fid *pool_fid)
int m0_spiel_tx_validate(struct m0_spiel_tx *tx)
int m0_spiel_rconfc_start(struct m0_spiel *spiel, m0_rconfc_cb_t expired_cb)
m0_cfg_storage_device_media_type
int m0_spiel_enclosure_add(struct m0_spiel_tx *tx, const struct m0_fid *fid, const struct m0_fid *parent, const struct m0_fid *node)
int m0_spiel_dix_repair_quiesce(struct m0_spiel *spl, const struct m0_fid *pool_fid)
int m0_spiel_sns_repair_quiesce(struct m0_spiel *spl, const struct m0_fid *pool_fid)
int m0_spiel_process_add(struct m0_spiel_tx *tx, const struct m0_fid *fid, const struct m0_fid *parent, struct m0_bitmap *cores, uint64_t memlimit_as, uint64_t memlimit_rss, uint64_t memlimit_stack, uint64_t memlimit_memlock, const char *endpoint)
int m0_spiel_device_detach(struct m0_spiel *spl, const struct m0_fid *dev_fid)
int m0_spiel_service_start(struct m0_spiel *spl, const struct m0_fid *svc_fid)
static struct m0_pool pool
int m0_spiel_dix_rebalance_continue(struct m0_spiel *spl, const struct m0_fid *pool_fid)
int m0_spiel_sns_rebalance_start(struct m0_spiel *spl, const struct m0_fid *pool_fid)
m0_cfg_storage_device_interface_type
static struct m0_fid profile
int m0_spiel_service_quiesce(struct m0_spiel *spl, const struct m0_fid *svc_fid)
int m0_spiel_pool_rebalance_status(struct m0_spiel *spl, const struct m0_fid *pool_fid, struct m0_spiel_sns_status **statuses)
struct m0_conf_cache spt_cache
int m0_spiel_controller_v_add(struct m0_spiel_tx *tx, const struct m0_fid *fid, const struct m0_fid *parent, const struct m0_fid *real)
int m0_spiel_pool_repair_continue(struct m0_spiel *spl, const struct m0_fid *pool_fid)
int m0_spiel_confstr(struct m0_spiel *spl, char **out)
int m0_spiel_pool_version_done(struct m0_spiel_tx *tx, const struct m0_fid *fid)
struct m0_spiel * spt_spiel
m0_bcount_t fs_avail_disk
int m0_spiel_sns_repair_start(struct m0_spiel *spl, const struct m0_fid *pool_fid)
int m0_spiel_dix_rebalance_abort(struct m0_spiel *spl, const struct m0_fid *pool_fid)
int m0_spiel_dix_repair_continue(struct m0_spiel *spl, const struct m0_fid *pool_fid)
int m0_spiel_tx_to_str(struct m0_spiel_tx *tx, uint64_t ver_forced, char **str)
enum m0_sns_cm_status sss_state
int m0_spiel_device_attach(struct m0_spiel *spl, const struct m0_fid *dev_fid)
int m0_spiel_conf_pver_status(struct m0_spiel *spl, struct m0_fid *fid, struct m0_conf_pver_info *out_info)
int m0_spiel_proc_counters_fetch(struct m0_spiel *spl, struct m0_fid *proc_fid, struct m0_proc_counter *count_stats)
int m0_spiel_pool_repair_status(struct m0_spiel *spl, const struct m0_fid *pool_fid, struct m0_spiel_sns_status **statuses)
int m0_spiel_pool_rebalance_quiesce(struct m0_spiel *spl, const struct m0_fid *pool_fid)
int m0_spiel_sns_repair_abort(struct m0_spiel *spl, const struct m0_fid *pool_fid)
void m0_spiel_tx_close(struct m0_spiel_tx *tx)
int m0_spiel_pool_add(struct m0_spiel_tx *tx, const struct m0_fid *fid, uint32_t pver_policy)
struct m0_rconfc spl_rconfc
int m0_spiel_device_add(struct m0_spiel_tx *tx, const struct m0_fid *fid, const struct m0_fid *parent, const struct m0_fid *drive, uint32_t dev_idx, enum m0_cfg_storage_device_interface_type iface, enum m0_cfg_storage_device_media_type media, uint32_t bsize, uint64_t size, uint64_t last_state, uint64_t flags, const char *filename)
enum m0_conf_service_type svi_type
struct m0_fid pc_proc_fid
struct m0_spiel_wlock_ctx * spl_wlock_ctx
int m0_spiel_dix_repair_abort(struct m0_spiel *spl, const struct m0_fid *pool_fid)
void m0_spiel_tx_str_free(char *str)
uint64_t sbr_object_count
int m0_spiel_filesystem_stats_fetch(struct m0_spiel *spl, struct m0_fs_stats *stats)
int m0_spiel_element_del(struct m0_spiel_tx *tx, const struct m0_fid *fid)
int m0_spiel_process_lib_load(struct m0_spiel *spl, const struct m0_fid *proc_fid, const char *libname)
int m0_spiel_service_add(struct m0_spiel_tx *tx, const struct m0_fid *fid, const struct m0_fid *parent, const struct m0_spiel_service_info *service_info)
int m0_spiel_sns_rebalance_quiesce(struct m0_spiel *spl, const struct m0_fid *pool_fid)
int m0_spiel_node_add(struct m0_spiel_tx *tx, const struct m0_fid *fid, uint32_t memsize, uint32_t nr_cpu, uint64_t last_state, uint64_t flags)
int m0_spiel_dix_rebalance_status(struct m0_spiel *spl, const struct m0_fid *pool_fid, struct m0_spiel_repreb_status **statuses)