xfs: add tracepoints to AGF/AGI read operations
authorDave Chinner <dchinner@redhat.com>
Fri, 1 Nov 2013 04:27:19 +0000 (15:27 +1100)
committerBen Myers <bpm@sgi.com>
Wed, 6 Nov 2013 18:42:52 +0000 (12:42 -0600)
commitd123031a5673cd38a85ce66cc07243dfe5f424c9
treea1620c83c6460575f31c71470c4d4200334d4315
parent750b9c90668b173a92b20e747b9736b8537eda5a
xfs: add tracepoints to AGF/AGI read operations

To help track down AGI/AGF lock ordering issues, I added these
tracepoints to tell us when an AGI or AGF is read and locked.  With
these we can now determine if the lock ordering goes wrong from
tracing captures.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_alloc.c
fs/xfs/xfs_ialloc.c
fs/xfs/xfs_trace.h