• Alex Elder's avatar
    rbd: normalize dout() calls · 37206ee5
    Alex Elder authored
    Add dout() calls to facilitate tracing of image and object requests.
    Change a few existing calls so they use __func__ rather than the
    hard-coded function name.  Have calls always add ":" after the name
    of the function, and prefix pointer values with a consistent tag
    indicating what it represents.  (Note that there remain some older
    dout() calls that are left untouched by this patch.)
    
    Issue a warning if rbd_osd_write_callback() ever gets a short write.
    
    This resolves:
        http://tracker.ceph.com/issues/4235Signed-off-by: default avatarAlex Elder <elder@inktank.com>
    Reviewed-by: default avatarJosh Durgin <josh.durgin@inktank.com>
    37206ee5
rbd.c 106 KB