From: Samuel Just Date: Thu, 14 Mar 2013 23:01:57 +0000 (-0700) Subject: FileStore: add more debugging for remove and split X-Git-Tag: v0.60~64^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4aa0f8a274a29e18f3f7dbc40372871365ea7659;p=ceph.git FileStore: add more debugging for remove and split Signed-off-by: Samuel Just --- diff --git a/src/os/FileStore.cc b/src/os/FileStore.cc index e61d489e89fd..c0942a5e6371 100644 --- a/src/os/FileStore.cc +++ b/src/os/FileStore.cc @@ -345,6 +345,8 @@ int FileStore::lfn_unlink(coll_t cid, const hobject_t& o, return r; } if (st.st_nlink == 1) { + dout(20) << __func__ << ": clearing omap on " << o + << " in cid " << cid << dendl; r = object_map->clear(o, &spos); if (r < 0 && r != -ENOENT) { assert(!m_filestore_fail_eio || r != -EIO); @@ -4734,6 +4736,8 @@ int FileStore::_split_collection(coll_t cid, for (vector::iterator i = objects.begin(); i != objects.end(); ++i) { + dout(20) << __func__ << ": " << *i << " still in source " + << cid << dendl; assert(!i->match(bits, rem)); } objects.clear(); @@ -4751,6 +4755,8 @@ int FileStore::_split_collection(coll_t cid, for (vector::iterator i = objects.begin(); i != objects.end(); ++i) { + dout(20) << __func__ << ": " << *i << " now in dest " + << *i << dendl; assert(i->match(bits, rem)); } objects.clear();