Bug 489483 - GFS2: Add tracepoints
Summary: GFS2: Add tracepoints
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: GFS-kernel
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Steve Whitehouse
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 501987 579598
TreeView+ depends on / blocked
 
Reported: 2009-03-10 11:56 UTC by Steve Whitehouse
Modified: 2010-04-06 00:29 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-09-30 15:09:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to add glocks to blktrace (kernel) (11.13 KB, patch)
2009-03-10 11:58 UTC, Steve Whitehouse
no flags Details | Diff
Patch to add glocks to blktrace (userland) (4.39 KB, patch)
2009-03-10 11:59 UTC, Steve Whitehouse
no flags Details | Diff

Description Steve Whitehouse 2009-03-10 11:56:31 UTC
This is a bug to cover the activity of adding tracepoints to the GFS2 filesystem. Such things will be very useful for both functional test/debugging and performance analysis.

Originally I wrote an extension for blktrace to track glocks and block I/O via the same mechanism. This has already proved itself useful in solving a bug. I've received a suggestion that we should be using the generic tracepoints code rather than trying to tack onto blktrace. That will be ok provided we can maintain relative ordering between glocks and block I/O and provided that no extra overhead is introduced.

In addition there are other places in which we could usefully add tracepoints. Currently those include:

 1. Journalling (tracking blocks going in/out of the journal & writeback)
 2. Block allocation/deallocation

Tracepoints are undergoing rapid development at the moment. It may be wise to wait until after the next merge window in order to continue this development so that the core code has stabilised a bit.

Comment 1 Steve Whitehouse 2009-03-10 11:58:24 UTC
Created attachment 334622 [details]
Patch to add glocks to blktrace (kernel)

Comment 2 Steve Whitehouse 2009-03-10 11:59:07 UTC
Created attachment 334623 [details]
Patch to add glocks to blktrace (userland)

Comment 3 Bug Zapper 2009-06-09 12:04:56 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Steve Whitehouse 2009-09-30 15:09:36 UTC
Done and already upstream.


Note You need to log in before you can comment on or make changes to this bug.