summaryrefslogtreecommitdiffstats
path: root/src/mds/journal.cc
diff options
context:
space:
mode:
authorYan, Zheng <zheng.z.yan@intel.com>2014-06-25 09:52:54 +0200
committerYan, Zheng <zheng.z.yan@intel.com>2014-06-27 09:45:56 +0200
commit1f3fbc906261b837d144dd51b599757f14216c1b (patch)
tree0b5e7879506f02364e40e8739a625d1a8f437552 /src/mds/journal.cc
parentmds: introduce sequence number for log events (diff)
downloadceph-1f3fbc906261b837d144dd51b599757f14216c1b.tar.xz
ceph-1f3fbc906261b837d144dd51b599757f14216c1b.zip
mds: print sequence number of log segment
Diffstat (limited to 'src/mds/journal.cc')
-rw-r--r--src/mds/journal.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mds/journal.cc b/src/mds/journal.cc
index 1db55d11e6a..616e9ffa003 100644
--- a/src/mds/journal.cc
+++ b/src/mds/journal.cc
@@ -67,7 +67,7 @@ void LogSegment::try_to_expire(MDS *mds, C_GatherBuilder &gather_bld, int op_pri
{
set<CDir*> commit;
- dout(6) << "LogSegment(" << offset << ").try_to_expire" << dendl;
+ dout(6) << "LogSegment(" << seq << "/" << offset << ").try_to_expire" << dendl;
assert(g_conf->mds_kill_journal_expire_at != 1);
@@ -275,11 +275,11 @@ void LogSegment::try_to_expire(MDS *mds, C_GatherBuilder &gather_bld, int op_pri
}
if (gather_bld.has_subs()) {
- dout(6) << "LogSegment(" << offset << ").try_to_expire waiting" << dendl;
+ dout(6) << "LogSegment(" << seq << "/" << offset << ").try_to_expire waiting" << dendl;
mds->mdlog->flush();
} else {
assert(g_conf->mds_kill_journal_expire_at != 5);
- dout(6) << "LogSegment(" << offset << ").try_to_expire success" << dendl;
+ dout(6) << "LogSegment(" << seq << "/" << offset << ").try_to_expire success" << dendl;
}
}