]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
GFS2: Add rgrp information to block_alloc trace point
authorBob Peterson <rpeterso@redhat.com>
Wed, 9 May 2012 16:11:35 +0000 (12:11 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 11 May 2012 09:31:34 +0000 (10:31 +0100)
commit41db1ab9bed189cb904f7b0e145c3c6030c094c6
tree6e7180fc7380d1c3b0c2d288c2f513f973e47f8e
parentf2f9c8124482fa2e189d0ee321aac7a2cc76a57a
GFS2: Add rgrp information to block_alloc trace point

This is a second attempt at a patch that adds rgrp information to the
block allocation trace point for GFS2. As suggested, the patch was
modified to list the rgrp information _after_ the fields that exist today.

Again, the reason for this patch is to allow us to trace and debug
problems with the block reservations patch, which is still in the works.
We can debug problems with reservations if we can see what block allocations
result from the block reservations. It may also be handy in figuring out
if there are problems in rgrp free space accounting. In other words,
we can use it to track the rgrp and its free space along side the allocations
that are taking place.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/rgrp.c
fs/gfs2/trace_gfs2.h