From ef6c66287d04f0a4e7f81adde0f4067111eeda39 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 27 Feb 2017 10:52:07 -0500 Subject: [PATCH] os/filestore: debug which omap keys are set This may help us find http://tracker.ceph.com/issues/19067 Signed-off-by: Sage Weil --- src/os/filestore/FileStore.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/os/filestore/FileStore.cc b/src/os/filestore/FileStore.cc index fcad63e8aef5b..15169faadfa24 100644 --- a/src/os/filestore/FileStore.cc +++ b/src/os/filestore/FileStore.cc @@ -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;