Home
last modified time | relevance | path

Searched refs:mgc (Results 1 – 7 of 7) sorted by relevance

/drivers/staging/lustre/lustre/mgc/
Dlproc_mgc.c43 LPROC_SEQ_FOPS_RO_TYPE(mgc, connect_flags);
44 LPROC_SEQ_FOPS_RO_TYPE(mgc, server_uuid);
45 LPROC_SEQ_FOPS_RO_TYPE(mgc, conn_uuid);
46 LPROC_SEQ_FOPS_RO_TYPE(mgc, import);
47 LPROC_SEQ_FOPS_RO_TYPE(mgc, state);
49 LPROC_SEQ_FOPS_WR_ONLY(mgc, ping);
DMakefile1 obj-$(CONFIG_LUSTRE_FS) += mgc.o
2 mgc-y := mgc_request.o lproc_mgc.o
Dmgc_request.c1095 static int mgc_apply_recover_logs(struct obd_device *mgc, in mgc_apply_recover_logs() argument
1200 mgc->obd_name, obdname); in mgc_apply_recover_logs()
1217 mgc->obd_name, obdname); in mgc_apply_recover_logs()
1447 static int mgc_process_cfg_log(struct obd_device *mgc, in mgc_process_cfg_log() argument
1477 ctxt = llog_get_context(mgc, LLOG_CONFIG_REPL_CTXT); in mgc_process_cfg_log()
1523 int mgc_process_log(struct obd_device *mgc, struct config_llog_data *cld) in mgc_process_log() argument
1547 rcl = mgc_enqueue(mgc->u.cli.cl_mgc_mgsexp, NULL, LDLM_PLAIN, NULL, in mgc_process_log()
1568 rc = mgc_process_recover_log(mgc, cld); in mgc_process_log()
1570 rc = mgc_process_cfg_log(mgc, cld, rcl != 0); in mgc_process_log()
1574 mgc->obd_name, cld->cld_logname, rc ? "fail" : "succeed", rc); in mgc_process_log()
Dmgc_internal.h50 int mgc_process_log(struct obd_device *mgc, struct config_llog_data *cld);
/drivers/staging/lustre/lustre/obdclass/
Dobd_mount.c80 struct obd_device *mgc = lsi->lsi_mgc; in lustre_process_log() local
83 LASSERT(mgc); in lustre_process_log()
91 lustre_cfg_bufs_reset(bufs, mgc->obd_name); in lustre_process_log()
96 rc = obd_process_config(mgc, sizeof(*lcfg), lcfg); in lustre_process_log()
103 mgc->obd_name, logname, rc); in lustre_process_log()
107 mgc->obd_name, logname, in lustre_process_log()
122 struct obd_device *mgc = lsi->lsi_mgc; in lustre_end_log() local
125 if (!mgc) in lustre_end_log()
129 lustre_cfg_bufs_reset(&bufs, mgc->obd_name); in lustre_end_log()
134 rc = obd_process_config(mgc, sizeof(*lcfg), lcfg); in lustre_end_log()
/drivers/staging/lustre/lustre/
DMakefile1 obj-$(CONFIG_LUSTRE_FS) += libcfs/ obdclass/ ptlrpc/ fld/ osc/ mgc/ \
/drivers/staging/lustre/lustre/llite/
Ddir.c635 static int ll_send_mgc_param(struct obd_export *mgc, char *string) in ll_send_mgc_param() argument
645 rc = obd_set_info_async(NULL, mgc, sizeof(KEY_SET_INFO), KEY_SET_INFO, in ll_send_mgc_param()
693 struct obd_device *mgc = lsi->lsi_mgc; in ll_dir_setstripe() local
748 if (set_default && mgc->u.cli.cl_mgc_mgsexp) { in ll_dir_setstripe()
765 rc = ll_send_mgc_param(mgc->u.cli.cl_mgc_mgsexp, param); in ll_dir_setstripe()
772 rc = ll_send_mgc_param(mgc->u.cli.cl_mgc_mgsexp, param); in ll_dir_setstripe()
780 rc = ll_send_mgc_param(mgc->u.cli.cl_mgc_mgsexp, param); in ll_dir_setstripe()