LASSERT(trd->trd_processing_task == current->pid);
req = target_next_replay_req(obd);
if (req != NULL) {
- DEBUG_REQ(D_HA, req, "processing t"LPD64" : ",
- req->rq_reqmsg->transno);
+ char peer_str[PTL_NALFMT_SIZE];
+ DEBUG_REQ(D_HA, req, "processing t"LPD64" from %s: ",
+ req->rq_reqmsg->transno,
+ ptlrpc_peernid2str(&req->rq_peer, peer_str));
(void)trd->trd_recovery_handler(req);
obd->obd_replayed_requests++;
reset_recovery_timer(obd);
* opened this file and is only replaying the RPC, so we open the
* inode by fid (at some large expense in security). */
if (lustre_msg_get_flags(req->rq_reqmsg) & MSG_REPLAY) {
- DEBUG_REQ(D_HA, req, "open replay, disp: "LPX64"\n",
- rep->lock_policy_res1);
+ DEBUG_REQ(D_HA, req, "open replay");
+ CDEBUG(D_HA, "open fid "LPU64"/%u name %*s mode %o\n",
+ rec->ur_fid2->id, rec->ur_fid2->generation,
+ rec->ur_namelen - 1, rec->ur_name, rec->ur_mode);
LASSERT(rec->ur_fid2->id);
transno = req->rq_reqmsg->transno;
if (rc != 0) {
- LASSERTF(transno == 0, "BUG 3934, t"LPU64" rc %d,", transno, rc);
+ LASSERTF(transno == 0, "BUG 3934, t"LPU64" rc %d\n", transno, rc);
} else if (transno == 0) {
spin_lock(&mds->mds_transno_lock);
transno = ++mds->mds_last_transno;