Project

General

Profile

Bug #4235

krbd: add some dout() trace calls

Added by Alex Elder about 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

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.

History

#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 <elder@inktank.com>
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 <elder@inktank.com>

#2 Updated by Alex Elder about 7 years ago

  • Status changed from Fix Under Review to Resolved

This has been committed.

commit 37206ee5bede14d59306fea3af4c0105d4712342
Author: Alex Elder <>
Date: Wed Feb 20 17:32:08 2013 -0600

rbd: normalize dout() calls

Also available in: Atom PDF