xfs: Add inode pin counts to traces
authorDave Chinner <dchinner@redhat.com>
Mon, 8 Mar 2010 00:24:07 +0000 (11:24 +1100)
committerAlex Elder <aelder@sgi.com>
Wed, 19 May 2010 14:58:08 +0000 (09:58 -0500)
commit4aaf15d1aa9673dd2cc45c48957c946cb4aa2694
treeaec24df27ca9cde2d359b77f9ac97f8ad44a1baa
parent43f5efc5b59db1b66e39fe9fdfc4ba6a27152afa
xfs: Add inode pin counts to traces

We don't record pin counts in inode events right now, and this makes
it difficult to track down problems related to pinning inodes. Add
the pin count to the inode trace class and add trace events for
pinning and unpinning inodes.

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