commit | 7662d8ff57d2b00ce8f7fe0b60a85efbb2c05652 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Tue May 03 12:52:05 2011 -0700 |
committer | Sage Weil <sage@newdream.net> | Tue May 24 11:52:09 2011 -0700 |
tree | c87fd023ab2d4749ea32619034bcc813cba9504a | |
parent | 9db4b3e32778400555d5cc6fb61d4058902d37f7 [diff] |
libceph: handle new osdmap down/state change encoding Old incrementals encode a 0 value (nearly always) when an osd goes down. Change that to allow any state bit(s) to be flipped. Special case 0 to mean flip the CEPH_OSD_UP bit to mimic the old behavior. Signed-off-by: Sage Weil <sage@newdream.net>