Whamcloud - gitweb
b=17037
authoryury <yury>
Wed, 12 Nov 2008 11:59:38 +0000 (11:59 +0000)
committeryury <yury>
Wed, 12 Nov 2008 11:59:38 +0000 (11:59 +0000)
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.

lustre/obdclass/llog_cat.c

index b9a6833..10aa38e 100644 (file)
@@ -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");