libceph: activate message data assignment checks
authorAlex Elder <elder@inktank.com>
Tue, 5 Mar 2013 00:29:06 +0000 (18:29 -0600)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:16:44 +0000 (21:16 -0700)
commit07aa155878499f599a709eeecfaa0ca9ea764a88
treef710638b3e58c17753c6de6ded3de7b9814c54e5
parent70636773b7c3c73677e1d653629dace7c21d14bf
libceph: activate message data assignment checks

The mds client no longer tries to assign zero-length message data,
and the osd client no longer sets its data info more than once.
This allows us to activate assertions in the messenger to verify
these things never happen.

This resolves both of these:
    http://tracker.ceph.com/issues/4263
    http://tracker.ceph.com/issues/4284

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
net/ceph/messenger.c