From: yury Date: Wed, 12 Nov 2008 11:59:38 +0000 (+0000) Subject: b=17037 X-Git-Tag: v1_7_140~1^37 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=ebcd95f5114ab76084d6a635a66c2dd452d7dc23;p=fs%2Flustre-release.git b=17037 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. --- diff --git a/lustre/obdclass/llog_cat.c b/lustre/obdclass/llog_cat.c index b9a6833..10aa38e 100644 --- a/lustre/obdclass/llog_cat.c +++ b/lustre/obdclass/llog_cat.c @@ -437,7 +437,7 @@ int llog_cat_process_thread(void *data) 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");