]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: make automatically marking of unfound as lost optional
authorSage Weil <sage@newdream.net>
Tue, 24 May 2011 16:42:39 +0000 (09:42 -0700)
committerSage Weil <sage@newdream.net>
Tue, 24 May 2011 16:42:39 +0000 (09:42 -0700)
commit87309e946bed4175433048276b13e94e844ef958
treec2105597a8cc6deb850973504511a212366eb9c1
parent081acc4ce25ab3440775837eb228f81ed859b714
osd: make automatically marking of unfound as lost optional

We may not want to do this automatically until we have more confidense in
the recovery code.  Even then, possible not.  In particular, the OSDs may
believe they have contact all possible homes for the data even though there
is some long-lost OSD that has the data on disk that if offline.

For now, we make the marking process explicit so that the administrator can
make the call.

Signed-off-by: Sage Weil <sage@newdream.net>
src/common/config.cc
src/common/config.h
src/osd/PG.cc