diff options
author | Yan, Zheng <zheng.z.yan@intel.com> | 2014-06-25 09:52:54 +0200 |
---|---|---|
committer | Yan, Zheng <zheng.z.yan@intel.com> | 2014-06-27 09:45:56 +0200 |
commit | 1f3fbc906261b837d144dd51b599757f14216c1b (patch) | |
tree | 0b5e7879506f02364e40e8739a625d1a8f437552 /src/mds/journal.cc | |
parent | mds: introduce sequence number for log events (diff) | |
download | ceph-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.cc | 6 |
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; } } |