]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: track auto-marked-out osds
authorSage Weil <sage@newdream.net>
Wed, 4 Jan 2012 20:56:15 +0000 (12:56 -0800)
committerSage Weil <sage@newdream.net>
Wed, 4 Jan 2012 23:57:40 +0000 (15:57 -0800)
commit9510f9c9441d74ecfb171be6d8d20c0007a65f20
tree954053fb746de72c3886b18988c4789e649e87d5
parentbecb71b08a2767574eeeabdf305a9d47177da08b
mon: track auto-marked-out osds

Mark OSDs that were automatically marked OUT by the monitor because they
were down for too long.  Clear the bit as soon as they are no longer out,
as soon as the weight is changed from 0.

Signed-off-by: Sage Weil <sage@newdream.net>
src/include/rados.h
src/mon/OSDMonitor.cc
src/osd/OSDMap.cc
src/osd/OSDMap.h