Disable some console messages from failed statfs(), reconnect
err = obd_statfs(class_conn2obd(&lov->tgts[i].conn), &lov_sfs,
max_age);
if (err) {
- if (lov->tgts[i].active) {
- CERROR("error: statfs OSC %s on OST idx %d: "
- "err = %d\n",
- lov->tgts[i].uuid.uuid, i, err);
- if (!rc)
- rc = err;
- }
+ if (lov->tgts[i].active && !rc)
+ rc = err;
continue;
}
request->rq_replen = lustre_msg_size(1, &size);
rc = ptlrpc_queue_wait(request);
- if (rc) {
- CERROR("%s failed: rc = %d\n", __FUNCTION__, rc);
+ if (rc)
GOTO(out, rc);
- }
msfs = lustre_swab_repbuf(request, 0, sizeof(*msfs),
lustre_swab_obd_statfs);
struct ptlrpc_request *req;
struct lustre_handle old_hdl;
__u64 committed_before_reconnect = imp->imp_peer_committed_transno;
-
- CERROR("reconnect handle "LPX64"\n",
- imp->imp_dlm_handle.cookie);
+ ENTRY;
req = ptlrpc_prep_req(imp, imp->imp_connect_op, 3, size, tmp);
if (!req)