crush_rule type is inconsistent
3 - minor
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Here's a table of crush_rule's type in various places:
Location | Type -----------+----- pg_pool_t | __u8 MPoolOp | __s16 OSDMonitor | int Objecter | int *and* __u8 librados | __u8
I'd suggest moving everything to __u8, or if we don't want to change the message encoding, doing bounds checking on the monitor and changing to __u8 everywhere other than MPoolOp.