]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
PG::can_discard_op: do discard old subopreplies 2345/head
authorSamuel Just <sam.just@inktank.com>
Wed, 27 Aug 2014 23:21:41 +0000 (16:21 -0700)
committerSamuel Just <sam.just@inktank.com>
Wed, 27 Aug 2014 23:24:43 +0000 (16:24 -0700)
commitae3d87348ca4e2dde809c9593b0d54ce0469f7a0
treec5224281bcee27f8adf8405a9e212ee5056f7d4d
parentb78644e7dee100e48dfeca32c9270a6b210d3003
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>
src/osd/PG.cc