]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: use our already-found iterator instead of going back into map
authorGreg Farnum <greg@inktank.com>
Thu, 19 Sep 2013 00:49:17 +0000 (17:49 -0700)
committerGreg Farnum <greg@inktank.com>
Mon, 30 Sep 2013 21:49:36 +0000 (14:49 -0700)
commit7f3165b52c7d33eb4417bed5d0f64a5be91f8d36
treed3d48c954f893bee2dd36e7845600f305d62e8c4
parent76321f8fc8ab5287e1a12473df8337cfd7711f4c
ReplicatedPG: use our already-found iterator instead of going back into map

We have an iterator pointing at the element we want; no need to search
the map again in order to grab the element or remove it.

Signed-off-by: Greg Farnum <greg@inktank.com>
src/osd/ReplicatedPG.cc