• A
    rbd: normalize dout() calls · 37206ee5
    Alex Elder 提交于
    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: NAlex Elder <elder@inktank.com>
    Reviewed-by: NJosh Durgin <josh.durgin@inktank.com>
    37206ee5
rbd.c 105.7 KB