Home
last modified time | relevance | path

Searched refs:imp_obd (Results 1 – 21 of 21) sorted by relevance

/drivers/staging/lustre/lustre/ptlrpc/
Dimport.c92 imp, obd2cli_tgt(imp->imp_obd), \
168 deuuidify(obd2cli_tgt(imp->imp_obd), NULL, in ptlrpc_set_import_discon()
173 imp->imp_obd->obd_name, target_len, target_start, in ptlrpc_set_import_discon()
177 imp->imp_obd->obd_name, in ptlrpc_set_import_discon()
187 obd_import_event(imp->imp_obd, imp, IMP_EVENT_DISCON); in ptlrpc_set_import_discon()
208 CDEBUG(D_HA, "setting import %s INVALID\n", obd2cli_tgt(imp->imp_obd)); in ptlrpc_deactivate_import()
216 obd_import_event(imp->imp_obd, imp, IMP_EVENT_INACTIVE); in ptlrpc_deactivate_import()
276 if (!imp->imp_invalid || imp->imp_obd->obd_no_recov) in ptlrpc_invalidate_import()
316 const char *cli_tgt = obd2cli_tgt(imp->imp_obd); in ptlrpc_invalidate_import()
372 obd_import_event(imp->imp_obd, imp, IMP_EVENT_INVALIDATE); in ptlrpc_invalidate_import()
[all …]
Drecover.c61 CDEBUG(D_HA, "%s: starting recovery\n", obd2cli_tgt(imp->imp_obd)); in ptlrpc_initiate_recovery()
88 imp, obd2cli_tgt(imp->imp_obd), in ptlrpc_replay_next()
234 imp->imp_obd->obd_name, obd2cli_tgt(imp->imp_obd), in ptlrpc_request_handle_notconn()
241 obd2cli_tgt(imp->imp_obd), in ptlrpc_request_handle_notconn()
243 imp->imp_obd->obd_name); in ptlrpc_request_handle_notconn()
268 struct obd_device *obd = imp->imp_obd; in ptlrpc_set_import_active()
277 obd2cli_tgt(imp->imp_obd)); in ptlrpc_set_import_active()
285 obd_import_event(imp->imp_obd, imp, IMP_EVENT_DEACTIVATE); in ptlrpc_set_import_active()
293 obd2cli_tgt(imp->imp_obd)); in ptlrpc_set_import_active()
298 obd_import_event(imp->imp_obd, imp, IMP_EVENT_ACTIVATE); in ptlrpc_set_import_active()
[all …]
Dpinger.c91 imp->imp_obd->obd_uuid.uuid, in ptlrpc_ping()
92 obd2cli_tgt(imp->imp_obd)); in ptlrpc_ping()
97 imp->imp_obd->obd_uuid.uuid, obd2cli_tgt(imp->imp_obd)); in ptlrpc_ping()
197 imp->imp_obd->obd_uuid.uuid, obd2cli_tgt(imp->imp_obd), in ptlrpc_pinger_process_import()
207 imp->imp_obd->obd_no_recov || in ptlrpc_pinger_process_import()
210 imp->imp_obd->obd_uuid.uuid, obd2cli_tgt(imp->imp_obd), in ptlrpc_pinger_process_import()
367 imp->imp_obd->obd_uuid.uuid, obd2cli_tgt(imp->imp_obd)); in ptlrpc_pinger_add_import()
369 imp->imp_obd->obd_no_recov = 0; in ptlrpc_pinger_add_import()
390 imp->imp_obd->obd_uuid.uuid, obd2cli_tgt(imp->imp_obd)); in ptlrpc_pinger_del_import()
392 imp->imp_obd->obd_no_recov = 1; in ptlrpc_pinger_del_import()
Dsec.c1239 imp->imp_obd->obd_type->typ_name, in sptlrpc_sec_create()
1240 imp->imp_obd->obd_name, in sptlrpc_sec_create()
1249 imp->imp_obd->obd_type->typ_name, in sptlrpc_sec_create()
1250 imp->imp_obd->obd_name, in sptlrpc_sec_create()
1363 struct client_obd *cliobd = &imp->imp_obd->u.cli; in sptlrpc_import_sec_adapt()
1376 sp = imp->imp_obd->u.cli.cl_sp_me; in sptlrpc_import_sec_adapt()
1385 sp = sptlrpc_target_sec_part(imp->imp_obd); in sptlrpc_import_sec_adapt()
1396 imp->imp_obd->obd_name, in sptlrpc_import_sec_adapt()
1411 imp->imp_obd->obd_name, in sptlrpc_import_sec_adapt()
1424 imp->imp_obd->obd_name, in sptlrpc_import_sec_adapt()
[all …]
Dniobuf.c182 desc->bd_import->imp_obd->obd_name, xid, in ptlrpc_register_bulk()
192 desc->bd_import->imp_obd->obd_name, xid, in ptlrpc_register_bulk()
222 desc->bd_import->imp_obd->obd_name, libcfs_id2str(peer), in ptlrpc_register_bulk()
492 struct obd_device *obd = request->rq_import->imp_obd; in ptl_send_rpc()
Dclient.c280 req->rq_import->imp_obd->obd_name, req->rq_request_portal, in ptlrpc_at_adj_service()
325 req->rq_import->imp_obd->obd_name, in ptlrpc_at_adj_net_latency()
1042 } else if (imp->imp_invalid || imp->imp_obd->obd_no_recov) { in ptlrpc_import_delay_req()
1119 imp->imp_obd->obd_name, in ptlrpc_check_status()
1165 struct obd_device *obd = req->rq_import->imp_obd; in after_reply()
1280 imp->imp_obd->obd_no_recov || imp->imp_dlm_fake) { in after_reply()
1420 imp->imp_obd->obd_uuid.uuid, in ptlrpc_send_new_req()
1807 current_comm(), imp->imp_obd->obd_uuid.uuid, in ptlrpc_check_set()
1911 imp->imp_obd->obd_no_recov) { in ptlrpc_expire_one_request()
2436 imp->imp_obd->obd_name, imp->imp_peer_committed_transno); in ptlrpc_free_committed()
[all …]
Dlproc_ptlrpc.c1131 svc_stats = req->rq_import->imp_obd->obd_svc_stats; in ptlrpc_lprocfs_rpc_sent()
1146 svc_stats = req->rq_import->imp_obd->obd_svc_stats; in ptlrpc_lprocfs_brw()
1265 imp->imp_obd->obd_name, in lprocfs_wr_import()
1270 imp->imp_obd->obd_name, inst); in lprocfs_wr_import()
Dsec_null.c85 struct obd_device *obd = req->rq_import->imp_obd; in null_ctx_sign()
Dpack_generic.c2192 req->rq_import->imp_obd->obd_name : in _debug_req()
/drivers/staging/lustre/lustre/osc/
Dosc_quota.c111 cli->cl_import->imp_obd->obd_name, in osc_quota_setdq()
126 cli->cl_import->imp_obd->obd_name, in osc_quota_setdq()
Dosc_page.c827 cli->cl_import->imp_obd->obd_name, rc, cli); in osc_lru_reclaim()
832 cli->cl_import->imp_obd->obd_name, cli, in osc_lru_reclaim()
850 cli->cl_import->imp_obd->obd_name, cli, in osc_lru_reclaim()
867 cli->cl_import->imp_obd->obd_name, cli, rc); in osc_lru_reclaim()
Dosc_request.c667 struct client_obd *cli = &req->rq_import->imp_obd->u.cli; in osc_destroy_interpret()
868 struct client_obd *cli = &req->rq_import->imp_obd->u.cli; in osc_shrink_grant_interpret()
951 rc = osc_set_info_async(NULL, cli->cl_import->imp_obd->obd_self_export, in osc_shrink_grant_to_target()
1006 client->cl_import->imp_obd->obd_name, rc); in osc_add_shrink_grant()
1010 client->cl_import->imp_obd->obd_name); in osc_add_shrink_grant()
1039 cli->cl_import->imp_obd->obd_name, cli->cl_avail_grant, in osc_init_grant()
1051 cli->cl_import->imp_obd->obd_name, in osc_init_grant()
1567 req->rq_import->imp_obd->obd_name, in osc_brw_fini_request()
1732 req->rq_import->imp_obd->obd_name, in brw_interpret()
1739 req->rq_import->imp_obd->obd_name, in brw_interpret()
[all …]
Dosc_cache.c840 int blocksize = cli->cl_import->imp_obd->obd_osfs.os_bsize ? : 4096; in osc_extent_finish()
1348 __tmp->cl_import->imp_obd->obd_name, \
1573 cli->cl_import->imp_obd->obd_name, &ocw, oap); in osc_enter_cache()
/drivers/staging/lustre/lustre/obdclass/
Dgenops.c837 imp->imp_obd->obd_name); in class_import_destroy()
854 class_decref(imp->imp_obd, "import", imp); in class_import_destroy()
873 import->imp_obd->obd_name); in class_import_get()
885 imp->imp_obd->obd_name); in class_import_put()
929 imp->imp_obd = class_incref(obd, "import", imp); in class_new_import()
Dlprocfs_status.c586 if (imp->imp_obd->obd_no_recov) { in obd_import_flags2str()
/drivers/staging/lustre/lustre/ldlm/
Dldlm_lib.c93 imp, imp->imp_obd->obd_name, uuid->uuid, in import_set_conn()
111 imp, imp->imp_obd->obd_name, uuid->uuid, in import_set_conn()
183 imp, imp->imp_obd->obd_name, uuid->uuid); in client_import_del_conn()
Dldlm_request.c950 return &imp->imp_obd->obd_namespace->ns_pool; in ldlm_imp2pl()
962 if (unlikely(!req->rq_import || !req->rq_import->imp_obd || in ldlm_cli_update_pool()
986 obd = req->rq_import->imp_obd; in ldlm_cli_update_pool()
1949 struct ldlm_namespace *ns = imp->imp_obd->obd_namespace; in ldlm_replay_locks()
/drivers/staging/lustre/lustre/include/
Dlustre_import.h193 struct obd_device *imp_obd; member
Dobd_class.h799 struct obd_device *obd = imp->imp_obd; in obd_add_conn()
814 struct obd_device *obd = imp->imp_obd; in obd_del_conn()
/drivers/staging/lustre/lustre/mgc/
Dmgc_request.c967 imp->imp_obd->obd_name, value, in mgc_set_info_async()
969 imp->imp_replayable, imp->imp_obd->obd_replayable, in mgc_set_info_async()
1053 LASSERT(imp->imp_obd == obd); in mgc_import_event()
/drivers/staging/lustre/lustre/mdc/
Dmdc_request.c60 struct client_obd *cli = &req->rq_import->imp_obd->u.cli; in mdc_queue_wait()
2178 LASSERT(imp->imp_obd == obd); in mdc_import_event()