From 79628c858144c6896a28e90a33f6fbd906303bdf Mon Sep 17 00:00:00 2001 From: sageweil Date: Fri, 13 Jul 2007 13:36:12 +0000 Subject: [PATCH] * turn down debugginb in ebofs * trivial replay bug in ebofs git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1492 29311d96-e01e-0410-9327-a35deaab8ce9 --- trunk/ceph/ebofs/Ebofs.cc | 1 + trunk/ceph/ebofs/FileJournal.cc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/trunk/ceph/ebofs/Ebofs.cc b/trunk/ceph/ebofs/Ebofs.cc index f315d0385016f..b2a076c699417 100644 --- a/trunk/ceph/ebofs/Ebofs.cc +++ b/trunk/ceph/ebofs/Ebofs.cc @@ -127,6 +127,7 @@ int Ebofs::mount() if (e < super_epoch) { dout(-3) << "mount replay: skipping old entry in epoch " << e << " < " << super_epoch << endl; + continue; } if (e == super_epoch+1) { super_epoch++; diff --git a/trunk/ceph/ebofs/FileJournal.cc b/trunk/ceph/ebofs/FileJournal.cc index 74edecf41c71a..8bc942c861b92 100644 --- a/trunk/ceph/ebofs/FileJournal.cc +++ b/trunk/ceph/ebofs/FileJournal.cc @@ -23,7 +23,7 @@ #include "config.h" #undef dout -#define dout(x) if (true || x <= g_conf.debug_ebofs) cout << "ebofs(" << ebofs->dev.get_device_name() << ").journal " +#define dout(x) if (x <= g_conf.debug_ebofs) cout << "ebofs(" << ebofs->dev.get_device_name() << ").journal " #define derr(x) if (x <= g_conf.debug_ebofs) cerr << "ebofs(" << ebofs->dev.get_device_name() << ").journal " -- 2.39.5