]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Objecter: switch handle_osd_map op resending around
authorGreg Farnum <gregory.farnum@dreamhost.com>
Wed, 11 May 2011 23:52:40 +0000 (16:52 -0700)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Thu, 12 May 2011 00:45:32 +0000 (17:45 -0700)
commitb6cccc741a36b704b09a190ad7d7b948f3012248
treed35b2175dd58159f6bd1f3248af43cc21ce834d7
parent5e4f6bae13e99dff858b33fa96c5c7ef16fd4aec
Objecter: switch handle_osd_map op resending around

We need to order the resend by tid. We could do that in a
set with a special-purpose comparison function, but just
switching to a map is easier.
Use a list for LingerOps, as those should also
be ordered but don't maintain tids like regular Ops do.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
src/osdc/Objecter.cc