From: Sage Weil Date: Mon, 27 Feb 2017 15:52:07 +0000 (-0500) Subject: os/filestore: debug which omap keys are set X-Git-Tag: v12.0.1~227^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F13671%2Fhead;p=ceph.git os/filestore: debug which omap keys are set This may help us find http://tracker.ceph.com/issues/19067 Signed-off-by: Sage Weil --- diff --git a/src/os/filestore/FileStore.cc b/src/os/filestore/FileStore.cc index fcad63e8aef5..15169faadfa2 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;