Do not fail OST activation when a llog is not found.
i=Johann Lombardi
i=Mike Pershin
* The async journal commit feature (bug 19128) and the cancel
lock before replay feature (bug 16774) are disabled by default.
+Severity : normal
+Bugzilla : 22658
+Description: Do not fail OST activation when a llog is not found, just
+ issue an error message.
+
Severity : enhancement
Bugzilla : 15253
Description: add conf-param -d option to remove permanent settings.
if (rc) {
CERROR("Cannot find handle for log "LPX64"\n",
lir->lid_id.lgl_oid);
+ if (rc == -ENOENT) {
+ index = rec->lrh_index;
+ goto cat_cleanup;
+ }
RETURN(rc);
}
index = loghandle->u.phd.phd_cookie.lgc_index;
llog_free_handle(loghandle);
+cat_cleanup:
LASSERT(index);
llog_cat_set_first_idx(cathandle, index);
rc = llog_cancel_rec(cathandle, index);