]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit52afd2994b51d637c95512dffe79df449c78e5c5
treef710638b3e58c17753c6de6ded3de7b9814c54e5
parentfae91685b565a68b30354e9f8a436360df5d6569
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