]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_buflock: add a tool that can be used to find buffer deadlocks
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 18 Aug 2016 23:26:19 +0000 (09:26 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 18 Aug 2016 23:26:19 +0000 (09:26 +1000)
commit59d2274febdf76258c0d7d9c51d7d703eae1db5a
treeaffd9a02e86d07215c7df2d8be31037c51f07914
parentde2f203d2bcdd29570f74ea164241e0791389494
xfs_buflock: add a tool that can be used to find buffer deadlocks

Add a (rough) python script that can parse the output of:
# trace-cmd -e xfs_buf_*lock*' <other tracepoints>
to identify xfs_buf deadlocks between XFS threads.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tools/xfsbuflock.py [new file with mode: 0755]