xfs: trace AIL manipulations
authorDave Chinner <dchinner@redhat.com>
Fri, 1 Nov 2013 04:27:18 +0000 (15:27 +1100)
committerBen Myers <bpm@sgi.com>
Wed, 6 Nov 2013 18:41:51 +0000 (12:41 -0600)
commit750b9c90668b173a92b20e747b9736b8537eda5a
tree2927a0bd0072fc35c2436e62d4f720ea381bc5fa
parent273203699f82667296e1f14344c5a5a6c4600470
xfs: trace AIL manipulations

I debugging a log tail issue on a RHEL6 kernel, I added these trace
points to trace log items being added, moved and removed in the AIL
and how that affected the log tail LSN that was written to the log.
They were very helpful in that they immediately identified the cause
of the problem being seen. Hence I'd like to always have them
available for use.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_log.c
fs/xfs/xfs_trace.h
fs/xfs/xfs_trans_ail.c