libceph: handle new osdmap down/state change encoding
authorSage Weil <sage@newdream.net>
Tue, 3 May 2011 19:52:05 +0000 (12:52 -0700)
committerSage Weil <sage@newdream.net>
Thu, 19 May 2011 18:30:23 +0000 (11:30 -0700)
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>
net/ceph/osdmap.c

Simple merge