]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
PG,ReplicatedPG: use pg_has_reset_since to discard old async events
authorSamuel Just <sam.just@inktank.com>
Mon, 25 Feb 2013 21:28:31 +0000 (13:28 -0800)
committerSage Weil <sage@inktank.com>
Mon, 4 Mar 2013 21:54:06 +0000 (13:54 -0800)
commita06ea30f84ae7368b7f8f9302cff3f17447c2d45
treee8012094a677675f96eca9d0244e23c459aabe40
parent83e9aa5038ee743d6f9eb8995bdb5ae0e87dfee2
PG,ReplicatedPG: use pg_has_reset_since to discard old async events

Local async events are obsolete if the pg is deleting or if the
epoch at which they were created is prior to last_peering_reset.

Signed-off-by: Samuel Just <sam.just@inktank.com>
(cherry picked from commit 62999ea2d362b32dfc86a15dcb03b06fb5cb0572)
src/osd/PG.cc
src/osd/PG.h
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h