]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
os/filestore: debug which omap keys are set
authorSage Weil <sage@redhat.com>
Mon, 27 Feb 2017 15:52:07 +0000 (10:52 -0500)
committerSage Weil <sage@redhat.com>
Mon, 27 Feb 2017 15:52:07 +0000 (10:52 -0500)
This may help us find http://tracker.ceph.com/issues/19067

Signed-off-by: Sage Weil <sage@redhat.com>
src/os/filestore/FileStore.cc

index fcad63e8aef5b84bb346597aa46c0ce90b13f664..15169faadfa2404d609b88640394df01305aa73f 100644 (file)
@@ -5332,6 +5332,11 @@ int FileStore::_omap_setkeys(const coll_t& cid, const ghobject_t &hoid,
     }
   }
 skip:
+  if (g_conf->subsys.should_gather(ceph_subsys_filestore, 20)) {
+    for (auto& p : aset) {
+      dout(20) << __func__ << "  set " << p.first << dendl;
+    }
+  }
   r = object_map->set_keys(hoid, aset, &spos);
   dout(20) << __func__ << " " << cid << "/" << hoid << " = " << r << dendl;
   return r;