]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds/OpenFileTable: enhance the log info 38363/head
authorXiubo Li <xiubli@redhat.com>
Mon, 30 Nov 2020 09:24:21 +0000 (17:24 +0800)
committerXiubo Li <xiubli@redhat.com>
Wed, 2 Dec 2020 01:20:41 +0000 (09:20 +0800)
Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/mds/OpenFileTable.cc

index fb94aef538102ba9b7d937bb64dde5f259a440e5..c32dc0fc5543a15fd403af8bef984fffca756364 100644 (file)
@@ -729,6 +729,7 @@ void OpenFileTable::_read_omap_values(const std::string& key, unsigned idx,
                                       bool first)
 {
     object_t oid = get_object_name(idx);
+    dout(10) << __func__ << ": load from '" << oid << ":" << key << "'" << dendl;
     object_locator_t oloc(mds->mdsmap->get_metadata_pool());
     C_IO_OFT_Load *c = new C_IO_OFT_Load(this, idx, first);
     ObjectOperation op;
@@ -856,7 +857,6 @@ void OpenFileTable::_load_finish(int op_r, int header_r, int values_r,
       last_key = values.rbegin()->first;
     else
       idx++;
-    dout(10) << __func__ << ": continue to load from '" << last_key << "'" << dendl;
 
     _read_omap_values(last_key, idx, !more);
     return;