os/filestore: debug which omap keys are set

This may help us find http://tracker.ceph.com/issues/19067

Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2017-02-27 10:52:07 -05:00
parent 924121b384
commit ef6c66287d

View 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;