]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
libceph: activate message data assignment checks
authorAlex Elder <elder@inktank.com>
Tue, 5 Mar 2013 00:29:06 +0000 (18:29 -0600)
committerGreg Farnum <greg@inktank.com>
Wed, 13 Mar 2013 00:45:11 +0000 (17:45 -0700)
commitc2523fad93715979cb4e86a9e1c167fa4767561c
tree4489a34e59c1954abe14e444fb5270e0d2143eb7
parent8fb0e266930a2d9738d71409483c4b676b7c10c5
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