• A
    libceph: abstract message data · 43794509
    Alex Elder 提交于
    Group the types of message data into an abstract structure with a
    type indicator and a union containing fields appropriate to the
    type of data it represents.  Use this to represent the pages,
    pagelist, bio, and trail in a ceph message.
    
    Verify message data is of type NONE in ceph_msg_data_set_*()
    routines.  Since information about message data of type NONE really
    should not be interpreted, get rid of the other assertions in those
    functions.
    Signed-off-by: NAlex Elder <elder@inktank.com>
    Reviewed-by: NJosh Durgin <josh.durgin@inktank.com>
    43794509
messenger.h 8.7 KB