Skip to content
Commit 7662d8ff authored by Sage Weil's avatar Sage Weil
Browse files

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: default avatarSage Weil <sage@newdream.net>
parent 9db4b3e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment