]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: simplify active_committed
authorSage Weil <sage@inktank.com>
Thu, 29 Nov 2012 00:08:04 +0000 (16:08 -0800)
committerSage Weil <sage@inktank.com>
Thu, 29 Nov 2012 20:39:43 +0000 (12:39 -0800)
commitbd03234c31dab0860683f94fbc7f50f5daf82a0d
treef7ace7ebc293fa116c959282f0c8daaf3231a633
parente16533029e659aeaae1b0cc32ea3fbc8da334b0c
osd: simplify active_committed

Way back in 4b3bb5ab37a05fa001d59f24da7d9c30d650321b we changed this to
pass an entity_inst_t down to fix a race. The refactor of the PG map
handling made this unnecessary; remove it.  The PG's OSDMap is not coherent
with respect to the PG when we take the lock, which is all that is
needed here.

Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/PG.cc
src/osd/PG.h