• Alex Elder's avatar
    libceph: support raw data requests · 49719778
    Alex Elder authored
    Allow osd request ops that aren't otherwise structured (not class,
    extent, or watch ops) to specify "raw" data to be used to hold
    incoming data for the op.  Make use of this capability for the osd
    STAT op.
    
    Prefix the name of the private function osd_req_op_init() with "_",
    and expose a new function by that (earlier) name whose purpose is to
    initialize osd ops with (only) implied data.
    
    For now we'll just support the use of a page array for an osd op
    with incoming raw data.
    Signed-off-by: default avatarAlex Elder <elder@inktank.com>
    Reviewed-by: default avatarJosh Durgin <josh.durgin@inktank.com>
    49719778
osd_client.c 66.8 KB