]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitda6a2d8b7fe6a8c54ac1e195499a22f0d3085b87
treeaec24df27ca9cde2d359b77f9ac97f8ad44a1baa
parentc4afcae17ae2d0314d78d2f114a91b8c1b57f408
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