Motr
M0
|
Go to the source code of this file.
Data Structures | |
struct | m0_ss_process_req |
struct | m0_ss_process_rep |
struct | m0_ss_process_svc_item |
struct | m0_ss_process_svc_list_rep |
Macros | |
#define | __MOTR_SSS_PROCESS_FOPS_H__ |
Functions | |
struct m0_ss_process_req | M0_XCA_DOMAIN (rpc) |
M0_INTERNAL struct m0_fop * | m0_ss_process_fop_create (struct m0_rpc_machine *mach, uint32_t cmd, const struct m0_fid *fid) |
M0_INTERNAL bool | m0_ss_fop_is_process_req (const struct m0_fop *fop) |
M0_INTERNAL struct m0_ss_process_req * | m0_ss_fop_process_req (struct m0_fop *fop) |
M0_INTERNAL struct m0_ss_process_rep * | m0_ss_fop_process_rep (struct m0_fop *fop) |
M0_INTERNAL struct m0_ss_process_svc_list_rep * | m0_ss_fop_process_svc_list_rep (struct m0_fop *fop) |
M0_INTERNAL int | m0_ss_process_fops_init (void) |
M0_INTERNAL void | m0_ss_process_fops_fini (void) |
M0_INTERNAL void | m0_ss_process_stop_fop_release (struct m0_ref *ref) |
Variables | |
struct m0_fop_type | m0_fop_process_fopt |
struct m0_fop_type | m0_fop_process_rep_fopt |
struct m0_fop_type | m0_fop_process_svc_list_rep_fopt |
uint32_t | ssp_cmd |
struct m0_fid | ssp_id |
struct m0_buf | ssp_param |
int32_t | sspr_rc |
int32_t | sspr_health |
m0_bcount_t | sspr_free_seg |
m0_bcount_t | sspr_total_seg |
m0_bcount_t | sspr_free_disk |
m0_bcount_t | sspr_avail_disk |
m0_bcount_t | sspr_total_disk |
struct m0_buf | sspr_bckey |
struct m0_buf | sspr_bcrec |
uint32_t | sspr_kv_count |
struct m0_ss_process_svc_item | M0_XCA_DOMAIN |
struct m0_bufs | sspr_services |
#define __MOTR_SSS_PROCESS_FOPS_H__ |
Definition at line 26 of file process_fops.h.
uint32_t ssp_cmd |
Command to execute.
Definition at line 205 of file process_fops.h.
struct m0_fid ssp_id |
Identifier of the process being started. fid type should set to M0_CONF_PROCESS_TYPE.cot_ftype
Definition at line 210 of file process_fops.h.
struct m0_buf ssp_param |
Additional parameter.
Currently used only by M0_PROCESS_LIB_LOAD to pass the name of the library.
Definition at line 217 of file process_fops.h.
m0_bcount_t sspr_avail_disk |
Filesystem stats - space available for user data on disks. This will be reported as available disk space by df command.
Definition at line 235 of file process_fops.h.
struct m0_buf sspr_bckey |
Buffer which holds keys from bytecount btree
Definition at line 244 of file process_fops.h.
struct m0_buf sspr_bcrec |
Buffer which holds records from bytecount btree
Definition at line 248 of file process_fops.h.
m0_bcount_t sspr_free_disk |
Filesystem stats - free space on disks. This will be the difference between total space in cluster and space consumed by user data.
Definition at line 230 of file process_fops.h.
m0_bcount_t sspr_free_seg |
Filesystem stats - free space in BE segments. This will be reported as free inodes by df command.
The field is meaningful only in case of M0_PROCESS_HEALTH command, and must be ignored in any other case.
Definition at line 217 of file process_fops.h.
int32_t sspr_health |
Process health. Valid for M0_PROCESS_HEALTH only.
Definition at line 209 of file process_fops.h.
uint32_t sspr_kv_count |
Number of key values in key and record buffers
Definition at line 252 of file process_fops.h.
int32_t sspr_rc |
Result of process operation or Process health (-Exxx = failure, 0 = success).
Result of service start/stop operation (-Exxx = failure, 0 = success)
Definition at line 205 of file process_fops.h.
struct m0_bufs sspr_services |
Definition at line 206 of file process_fops.h.
m0_bcount_t sspr_total_disk |
Filesystem stats - total space on disks. This will be reported as total disk space by df command.
Definition at line 240 of file process_fops.h.
m0_bcount_t sspr_total_seg |
Filesystem stats - total space in BE segments. This will be reported as total inodes by df command.
The field is meaningful only in case of M0_PROCESS_HEALTH command, and must be ignored in any other case.
Definition at line 225 of file process_fops.h.