argv[0], argv[1], argv[2], rc);
} else {
- CERROR("Invoked upcall %s %s %s\n",
- argv[0], argv[1], argv[2]);
+ CWARN("Invoked upcall %s %s %s\n",
+ argv[0], argv[1], argv[2]);
}
}
argv[0], argv[1], argv[2], argv[3], argv[4],rc);
} else {
- CERROR("Invoked upcall %s %s %s %s %s\n",
- argv[0], argv[1], argv[2], argv[3], argv[4]);
+ CWARN("Invoked upcall %s %s %s %s %s\n",
+ argv[0], argv[1], argv[2], argv[3], argv[4]);
}
#else
if (imp->imp_state == LUSTRE_IMP_CLOSED) {
rc = ptlrpc_connect_import(imp, NULL);
}
-
/* Wait for recovery to complete and resend. If evicted, then
this request will be errored out later.*/
spin_lock_irqsave(&failed_req->rq_lock, flags);
failed_req->rq_resend = 1;
spin_unlock_irqrestore(&failed_req->rq_lock, flags);
-
+
EXIT;
}
* requests. */
if (!active) {
ptlrpc_invalidate_import(imp, 0);
- }
+ imp->imp_deactive = 1;
+ }
/* When activating, mark import valid, and attempt recovery */
if (active) {
+ imp->imp_deactive = 0;
CDEBUG(D_HA, "setting import %s VALID\n",
imp->imp_target_uuid.uuid);
rc = ptlrpc_recover_import(imp, NULL);
{
int rc;
ENTRY;
-
+
/* force import to be disconnected. */
ptlrpc_set_import_discon(imp);
-
+
rc = ptlrpc_recover_import_no_retry(imp, new_uuid);
RETURN(rc);