]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: move all mark_clean-ish activity into try_mark_clean()
authorSage Weil <sage@redhat.com>
Sat, 15 Sep 2018 19:31:41 +0000 (14:31 -0500)
committerSage Weil <sage@redhat.com>
Thu, 20 Sep 2018 13:35:15 +0000 (08:35 -0500)
commit4d1b78704afc2b23c3aa213a593cab8850419443
treec22661b3158ccbb9544ab761090c03ddf0ad17d9
parent15701e8c95b2f34d3e90bfadf91e163759b2f709
osd/PG: move all mark_clean-ish activity into try_mark_clean()

Keep it all in one place (try_mark_clean()).  The key behavioral change
is that we update last_epoch_clean and last_epoch_started when we are
peered too, only only when we are active.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PG.cc
src/osd/PG.h