r=tappro,wangdi
- fixes ost cleanup issue due to missed llcd_put() in the case ost does not receive disconnect from mds;
- do not sleep on hanging llcd. Instead assert on it _after_ stopping recov_thread's ptlrpcd which should kill any remeining llcds;
- fixes and cleanups, comments.
if (cb) {
rc = llog_cat_process(llh, (llog_cb_t)cb, NULL);
- if (rc != LLOG_PROC_BREAK)
+ if (rc != LLOG_PROC_BREAK && rc != 0)
CERROR("llog_cat_process() failed %d\n", rc);
} else {
CWARN("No callback function for recovery\n");