]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
PG::can_discard_op: do discard old subopreplies
authorSamuel Just <sam.just@inktank.com>
Wed, 27 Aug 2014 23:21:41 +0000 (16:21 -0700)
committerSamuel Just <sam.just@inktank.com>
Tue, 9 Sep 2014 17:44:03 +0000 (10:44 -0700)
commitd73eb895cdc792ddef2626643e61c1521cf53434
treeb5bd2b65705efe263249082d747f452175397348
parent7ddf0a252bb887553b29fd93e58d01cac38835e6
PG::can_discard_op: do discard old subopreplies

Otherwise, a sub_op_reply from a previous interval can stick around
until we either one day go active again and get rid of it or delete the
pg which is holding it on its waiting_for_active list.  While it sticks
around futily waiting for the pg to once more go active, it will cause
harmless slow request warnings.

Fixes: #9259
Backport: firefly
Signed-off-by: Samuel Just <sam.just@inktank.com>
(cherry picked from commit ae3d87348ca4e2dde809c9593b0d54ce0469f7a0)
src/osd/PG.cc