Whamcloud - gitweb
Branch b1_4_mountconf
authornathan <nathan>
Tue, 21 Feb 2006 23:43:54 +0000 (23:43 +0000)
committernathan <nathan>
Tue, 21 Feb 2006 23:43:54 +0000 (23:43 +0000)
b=8007
going after the memory leaks:
1. problems with the llog_finish / reinitialize in mds_lov_add_ost -
   the pair must be atomic in case someone else is adding
   the cleanup doesn't clean up as much as the setup sets up.  This is
   falloout

lustre/lov/lov_log.c

index 715b4b8..683b744 100644 (file)
@@ -207,7 +207,7 @@ int lov_llog_init(struct obd_device *obd, struct obd_device *tgt,
                 child = ctgt->ltd_exp->exp_obd;
                 rc = obd_llog_init(child, tgt, 1, logid + i);
                 if (rc) {
-                        CERROR("error osc_llog_init %d\n", i);
+                        CERROR("error osc_llog_init %d (%d)\n", i, rc);
                         break;
                 }
         }