]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: be more careful about calling publish_stats_to_osd() correctly 8039/head
authorGreg Farnum <gfarnum@redhat.com>
Fri, 11 Mar 2016 01:24:04 +0000 (17:24 -0800)
committerGreg Farnum <gfarnum@redhat.com>
Sat, 12 Mar 2016 00:56:03 +0000 (16:56 -0800)
commitd9af48abb7d96d9d140d389bed52788473a760df
tree5e1f0d0e68383ccecd8ba121b78df05fb46fd2ac
parente730a9846ee94bfff6657489a9d655a0f9f0a5ff
ReplicatedPG: be more careful about calling publish_stats_to_osd() correctly

We had moved the call out of eval_repop into a lambda, but that left out
a few other code paths and is fragile. So just call it unconditionally in
eval_repop() when we're done with the repop instead.

Fixes: #14962
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
src/osd/ReplicatedPG.cc