Skip to content

Commit

Permalink
Merge pull request #13671 from liewegas/wip-filestore-omap
Browse files Browse the repository at this point in the history
os/filestore: debug which omap keys are set

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
  • Loading branch information
liewegas committed Feb 28, 2017
2 parents af7f048 + ef6c662 commit 7884fbf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/os/filestore/FileStore.cc
Expand Up @@ -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;
Expand Down

0 comments on commit 7884fbf

Please sign in to comment.