Bug 489483

Summary: GFS2: Add tracepoints
Product: [Fedora] Fedora Reporter: Steve Whitehouse <swhiteho>
Component: GFS-kernelAssignee: Steve Whitehouse <swhiteho>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: adas, bmarzins, edamato, rpeterso
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-30 15:09:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 501987, 579598    
Attachments:
Description Flags
Patch to add glocks to blktrace (kernel)
none
Patch to add glocks to blktrace (userland) none

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.