summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_icache.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2012-10-08 12:56:10 +0200
committerBen Myers <bpm@sgi.com>2012-10-17 20:40:54 +0200
commitfa96acadf1eb712fca6d59922ad93787c87e44ec (patch)
tree6fd1e828965e0b7bdb66e99ac532547272f7c217 /fs/xfs/xfs_icache.h
parentxfs: rename xfs_sync.[ch] to xfs_icache.[ch] (diff)
downloadlinux-fa96acadf1eb712fca6d59922ad93787c87e44ec.tar.xz
linux-fa96acadf1eb712fca6d59922ad93787c87e44ec.zip
xfs: move inode locking functions to xfs_inode.c
xfs_ilock() and friends really aren't related to the inode cache in any way, so move them to xfs_inode.c with all the other inode related functionality. While doing this move, move the xfs_ilock() tracepoints to *before* the lock is taken so that when a hang on a lock occurs we have events to indicate which process and what inode we were trying to lock when the hang occurred. This is much better than the current silence we get on a hang... Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Mark Tinguely <tinguely@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_icache.h')
0 files changed, 0 insertions, 0 deletions