Home
last modified time | relevance | path

Searched refs:imp_state (Results 1 – 14 of 14) sorted by relevance

/drivers/staging/lustre/lustre/ptlrpc/
Drecover.c190 if (imp->imp_state != LUSTRE_IMP_RECOVER) { in ptlrpc_resend()
313 if (imp->imp_state == LUSTRE_IMP_NEW || imp->imp_deactive || in ptlrpc_recover_import()
335 if (imp->imp_state != LUSTRE_IMP_DISCON) { in ptlrpc_recover_import()
371 if (imp->imp_state == LUSTRE_IMP_FULL || in ptlrpc_import_in_recovery()
372 imp->imp_state == LUSTRE_IMP_CLOSED || in ptlrpc_import_in_recovery()
373 imp->imp_state == LUSTRE_IMP_DISCON || in ptlrpc_import_in_recovery()
Dimport.c79 imp->imp_state = state; in __import_set_state()
90 if (imp->imp_state != LUSTRE_IMP_CLOSED) { \
93 ptlrpc_import_state_name(imp->imp_state), \
121 imp->imp_state = LUSTRE_IMP_NEW; in ptlrpc_init_import()
163 if (imp->imp_state == LUSTRE_IMP_FULL && in ptlrpc_set_import_discon()
193 (imp->imp_state == LUSTRE_IMP_FULL && in ptlrpc_set_import_discon()
196 conn_cnt, ptlrpc_import_state_name(imp->imp_state)); in ptlrpc_set_import_discon()
400 ptlrpc_import_state_name(imp->imp_state)); in ptlrpc_pinger_force()
406 if (imp->imp_state != LUSTRE_IMP_CONNECTING) in ptlrpc_pinger_force()
444 ptlrpc_import_state_name(imp->imp_state)); in ptlrpc_reconnect_import()
[all …]
Dpinger.c107 if (imp->imp_state == LUSTRE_IMP_DISCON) { in ptlrpc_update_next_ping()
176 level = imp->imp_state; in ptlrpc_pinger_process_import()
355 if (imp->imp_state != LUSTRE_IMP_FULL || in ptlrpc_pinger_commit_expected()
Dclient.c1023 } else if (imp->imp_state == LUSTRE_IMP_NEW) { in ptlrpc_import_delay_req()
1026 } else if (imp->imp_state == LUSTRE_IMP_CLOSED) { in ptlrpc_import_delay_req()
1036 imp->imp_state == LUSTRE_IMP_CONNECTING) { in ptlrpc_import_delay_req()
1049 } else if (req->rq_send_state != imp->imp_state) { in ptlrpc_import_delay_req()
1057 (imp->imp_state == LUSTRE_IMP_REPLAY || in ptlrpc_import_delay_req()
1058 imp->imp_state == LUSTRE_IMP_REPLAY_LOCKS || in ptlrpc_import_delay_req()
1059 imp->imp_state == LUSTRE_IMP_REPLAY_WAIT || in ptlrpc_import_delay_req()
1060 imp->imp_state == LUSTRE_IMP_RECOVER)) { in ptlrpc_import_delay_req()
1384 ptlrpc_import_state_name(imp->imp_state)); in ptlrpc_send_new_req()
1914 ptlrpc_import_state_name(imp->imp_state)); in ptlrpc_expire_one_request()
[all …]
Dniobuf.c504 (request->rq_import->imp_state == LUSTRE_IMP_FULL))); in ptl_send_rpc()
Dsec.c332 imp, ptlrpc_import_state_name(imp->imp_state)); in import_sec_validate_get()
/drivers/staging/lustre/lustre/ldlm/
Dldlm_lib.c160 if (imp->imp_state != LUSTRE_IMP_CLOSED && in client_import_del_conn()
161 imp->imp_state != LUSTRE_IMP_DISCON) { in client_import_del_conn()
528 LASSERT(imp->imp_state == LUSTRE_IMP_DISCON); in client_connect_import()
/drivers/staging/lustre/lustre/include/
Dlustre_import.h218 enum lustre_imp_state imp_state; member
/drivers/staging/lustre/lustre/lov/
Dlov_ea.c176 if (imp->imp_state == LUSTRE_IMP_FULL && in lov_tgt_maxbytes()
/drivers/staging/lustre/lustre/obdclass/
Dlprocfs_status.c500 imp_state_name = ptlrpc_import_state_name(imp->imp_state); in lprocfs_rd_server_uuid()
648 ptlrpc_import_state_name(imp->imp_state), in lprocfs_rd_import()
787 ptlrpc_import_state_name(imp->imp_state)); in lprocfs_rd_state()
Dgenops.c928 imp->imp_state = LUSTRE_IMP_NEW; in class_new_import()
/drivers/staging/lustre/lustre/mgc/
Dmgc_request.c970 ptlrpc_import_state_name(imp->imp_state)); in mgc_set_info_async()
972 if ((imp->imp_state != LUSTRE_IMP_FULL && in mgc_set_info_async()
973 imp->imp_state != LUSTRE_IMP_NEW) || value > 1) in mgc_set_info_async()
/drivers/staging/lustre/lustre/osc/
Dlproc_osc.c289 if (cli->cl_import->imp_state == LUSTRE_IMP_FULL) in cur_grant_bytes_store()
Dosc_request.c975 if (client->cl_import->imp_state == LUSTRE_IMP_FULL && in osc_should_shrink_grant()
1032 if (cli->cl_import->imp_state == LUSTRE_IMP_EVICTED) in osc_init_grant()