]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: requeue PG when we skip handling a peering event
authorSage Weil <sage@redhat.com>
Thu, 8 Jan 2015 19:17:03 +0000 (11:17 -0800)
committerSage Weil <sage@redhat.com>
Fri, 9 Jan 2015 23:05:29 +0000 (15:05 -0800)
commit852d7b5b3c019c02c042b767fc88916088e1a94d
tree044cf2aaf1869538e153cc723f3dcfcf897a7f45
parentc26ebd38335bb361aade5aacd05ba3217e602b9c
osd: requeue PG when we skip handling a peering event

If we don't handle the event, we need to put the PG back into the peering
queue or else the event won't get processed until the next event is
queued, at which point we'll be processing events with a delay.

The queue_null is not necessary (and is a waste of effort) because the
event is still in pg->peering_queue and the PG is queued.

This is a firefly-specific patch; a (very) similar one will appear in master
in 492ccc900c3358f36b6b14a207beec071eb06707.

Backport: giant, firefly
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc