From ad6ed67a179449826e0674e6cb8b46d3c4581c9a Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 18 Jun 2008 08:05:49 -0700 Subject: [PATCH] mds: debug try_to_expire --- src/mds/journal.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mds/journal.cc b/src/mds/journal.cc index 55d70fed3e677..2664bdf7af53e 100644 --- a/src/mds/journal.cc +++ b/src/mds/journal.cc @@ -76,18 +76,22 @@ C_Gather *LogSegment::try_to_expire(MDS *mds) // commit dirs for (xlist::iterator p = new_dirfrags.begin(); !p.end(); ++p) { + dout(20) << " new_dirfrag " << **p << dendl; assert((*p)->is_auth()); commit.insert(*p); } for (xlist::iterator p = dirty_dirfrags.begin(); !p.end(); ++p) { + dout(20) << " dirty_dirfrag " << **p << dendl; assert((*p)->is_auth()); commit.insert(*p); } for (xlist::iterator p = dirty_dentries.begin(); !p.end(); ++p) { + dout(20) << " dirty_dentry " << **p << dendl; assert((*p)->is_auth()); commit.insert((*p)->get_dir()); } for (xlist::iterator p = dirty_inodes.begin(); !p.end(); ++p) { + dout(20) << " dirty_inode " << **p << dendl; assert((*p)->is_auth()); commit.insert((*p)->get_parent_dn()->get_dir()); } -- 2.39.5