]> bbs.cooldavid.org Git - net-next-2.6.git/commit
xfs: some iget tracing cleanups / fixes
authorChristoph Hellwig <hch@infradead.org>
Thu, 24 Jun 2010 01:50:22 +0000 (11:50 +1000)
committerAlex Elder <aelder@sgi.com>
Mon, 26 Jul 2010 18:16:43 +0000 (13:16 -0500)
commitd2e078c33c24f97411b0fdd7cd2173e68125e7e3
tree596dafaa5f9f6336a62350a889926184a93a3850
parent807cbbdb438d172b87b380eebc1f1c1a5a3549b2
xfs: some iget tracing cleanups / fixes

The xfs_iget_alloc/found tracepoints are a bit misnamed and misplaced.
Rename them to xfs_iget_hit/xfs_iget_miss and move them to the beggining
of the xfs_iget_cache_hit/miss functions.  Add a new xfs_iget_reclaim_fail
tracepoint for the case where we fail to re-initialize a VFS inode,
and add a second instance of the xfs_iget_skip tracepoint for the case
of a failed igrab() call.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/linux-2.6/xfs_trace.h
fs/xfs/xfs_iget.c