]> git.apps.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)
committerSamuel Just <sam.just@inktank.com>
Mon, 25 Feb 2013 21:30:11 +0000 (13:30 -0800)
commit62999ea2d362b32dfc86a15dcb03b06fb5cb0572
treec2be6f99e20f8ef40dd899437673a23f3a700178
parent67225339dc3d62d7fe5a32eec65d51e53e8d35bb
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>
src/osd/PG.cc
src/osd/PG.h
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h