]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Build might_have_unfound set at activation
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Fri, 19 Nov 2010 23:02:46 +0000 (15:02 -0800)
committerSage Weil <sage@newdream.net>
Tue, 23 Nov 2010 21:52:21 +0000 (13:52 -0800)
commit846122866db607e5af7409228c0f3d715e781ddc
tree60690a7ca8e5f8d2d2d59a05b75e4811530fd900
parent36c6569c110a980f9aa06ae5a396762337198fcb
Build might_have_unfound set at activation

The might_have_unfound set is used by the primary OSD during recovery.
This set tracks the OSDs which might have unfound objects that the
primary OSD needs. As we receive Missing from each OSD in
might_have_unfound, we will remove the OSD from the set.

When might_have_unfound is empty, we will mark objects as LOST if the
latest version of the object resided on an OSD marked as lost.

Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
src/osd/PG.cc
src/osd/PG.h