Skip to content
Snippets Groups Projects
Commit 25c5a220 authored by Andreas Dilger's avatar Andreas Dilger
Browse files

Branch HEAD

Don't print out commit callback messages except when they are increasing
the last_committed value.  The rest can assume to have been committed.
parent 4faa4a2b
No related branches found
No related tags found
No related merge requests found
......@@ -1504,11 +1504,14 @@ static inline void obd_transno_commit_cb(struct obd_device *obd, __u64 transno,
obd->obd_name, transno, error);
return;
}
CDEBUG(D_HA, "%s: transno "LPU64" committed\n",
obd->obd_name, transno);
if (transno > obd->obd_last_committed) {
CDEBUG(D_HA, "%s: transno "LPD64" committed\n",
obd->obd_name, transno);
obd->obd_last_committed = transno;
ptlrpc_commit_replies (obd);
} else {
CDEBUG(D_INFO, "%s: transno "LPD64" committed\n",
obd->obd_name, transno);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment