Motr
M0
|
#include <client_internal.h>
m0_ represents a client 'instance', a connection to a motr cluster. It is initalised by m0_client_init, and finalised with m0_client_fini. Any operation to open a realm requires the client instance to be specified, allowing an application to work with multiple motr clusters.
The prefix m0c is used over 'ci', to avoid confusion with colibri inode.
Definition at line 525 of file client_internal.h.
int m0_namelen |
Maximal allowed namelen (retrived from mdservice)
Definition at line 599 of file client_internal.h.
struct m0_thread m0c_astthread |
Special thread which runs ASTs from io requests.
Definition at line 586 of file client_internal.h.
bool m0c_astthread_active |
flag used to make the ast thread exit
Definition at line 589 of file client_internal.h.
struct m0_net_buffer_pool m0c_buffer_pool |
Definition at line 605 of file client_internal.h.
struct m0_clink m0c_conf_exp |
Definition at line 537 of file client_internal.h.
struct m0_clink m0c_conf_ready |
Definition at line 538 of file client_internal.h.
struct m0_clink m0c_conf_ready_async |
Definition at line 539 of file client_internal.h.
struct m0_chan m0c_conf_ready_chan |
Channel on which motr internal data structures refreshed as per new configurtion event brodcast.
Definition at line 572 of file client_internal.h.
struct m0_confc_update_state m0c_confc_state |
Indicates the state of confc.
Definition at line 567 of file client_internal.h.
struct m0_config* m0c_config |
Client configuration, it takes place of m0t1fs mount options
Definition at line 609 of file client_internal.h.
struct m0_dtm0_domain m0c_dtm0_domain |
Definition at line 630 of file client_internal.h.
struct m0_dtm0_service* m0c_dtms |
Definition at line 628 of file client_internal.h.
struct m0_reqh_service_ctx* m0c_ha_rsctx |
HA service context.
Definition at line 552 of file client_internal.h.
struct m0_idx_service_ctx m0c_idx_svc_ctx |
Index service context.
Definition at line 557 of file client_internal.h.
enum initlift_direction m0c_initlift_direction |
Definition at line 619 of file client_internal.h.
int m0c_initlift_rc |
Definition at line 620 of file client_internal.h.
struct m0_sm m0c_initlift_sm |
m0c_initlift_xxx fields control the progress of init/fini a client instance.
Definition at line 618 of file client_internal.h.
struct m0_chan m0c_io_wait |
Channel on which io waiters can wait.
Definition at line 592 of file client_internal.h.
char* m0c_laddr |
local endpoint address module parameter
Definition at line 602 of file client_internal.h.
uint64_t m0c_magic |
Definition at line 526 of file client_internal.h.
struct m0_htable m0c_mock_entities |
Definition at line 623 of file client_internal.h.
struct m0* m0c_motr |
Motr instance
Definition at line 529 of file client_internal.h.
struct m0_motr_ha m0c_motr_ha |
Definition at line 554 of file client_internal.h.
struct m0_net_domain m0c_ndom |
Definition at line 604 of file client_internal.h.
struct m0_ref m0c_ongoing_io |
Reference counter of this configuration instance users. When it drops to zero, all data structures using configuration cache can be refreshed. [idx_op|obj_io]_cb_launch get ref using m0__io_ref_get and idx_op_complete & ioreq_iosm_handle_executed put ref using m0__io_ref_put.
Definition at line 582 of file client_internal.h.
struct m0_atomic64 m0c_pending_io_nr |
Instantaneous count of pending io requests. Every io request increments this value while initializing and decrements it while finalizing.
Definition at line 564 of file client_internal.h.
struct m0_pools_common m0c_pools_common |
The following fields picture the pools in motr. m0_pools_common: details about all pools in motr. m0c_pool: current pool used by this client instance
Definition at line 549 of file client_internal.h.
struct m0_fid m0c_process_fid |
Definition at line 541 of file client_internal.h.
struct m0_fid m0c_profile_fid |
Definition at line 542 of file client_internal.h.
struct m0_reqh m0c_reqh |
Request handler for the instance
Definition at line 535 of file client_internal.h.
struct m0_htable m0c_rm_ctxs |
Definition at line 626 of file client_internal.h.
struct m0_fid m0c_root_fid |
Root fid, retrieved from mdservice in mount time.
Definition at line 596 of file client_internal.h.
struct m0_rpc_machine m0c_rpc_machine |
Definition at line 606 of file client_internal.h.
struct m0_sm_group m0c_sm_group |
State machine group used for all operations and entities.
Definition at line 532 of file client_internal.h.
struct m0_net_xprt* m0c_xprt |
Definition at line 603 of file client_internal.h.