Skip to content

Commit

Permalink
os/filestore: debug which omap keys are set
Browse files Browse the repository at this point in the history
This may help us find http://tracker.ceph.com/issues/19067

Signed-off-by: Sage Weil <sage@redhat.com>
  • Loading branch information
liewegas committed Feb 27, 2017
1 parent 924121b commit f4a0b94
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 f4a0b94

Please sign in to comment.