rbd: normalize dout() calls
authorAlex Elder <elder@inktank.com>
Wed, 20 Feb 2013 23:32:08 +0000 (17:32 -0600)
committerAlex Elder <elder@inktank.com>
Mon, 25 Feb 2013 21:36:56 +0000 (15:36 -0600)
commit37206ee5bede14d59306fea3af4c0105d4712342
treeca7070823a9e633aeca57dbca8d2c277ad58053d
parent632b88cadece050ca925d74bda250c4a320c5cc7
rbd: normalize dout() calls

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/4235

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c