krbd: add some dout() trace calls
3 - minor
Pull request ID:
While working on http://tracker.ceph.com/issues/4079 I added
some calls to dout() to some of the new request code. It is
helpful for troubleshooting so it ought to get committed,
independent of resolving that issue.
#1 Updated by Alex Elder about 7 years ago
- Status changed from In Progress to Fix Under Review
- Target version set to v0.58
Posted for review.
commit e6394cec80797fc60b3ac4f135aa241231a9f263 Author: Alex Elder <firstname.lastname@example.org> Date: Wed Feb 20 17:32:08 2013 -0600 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 <email@example.com>