xfs: add log item recovery tracing
authorDave Chinner <dchinner@redhat.com>
Tue, 13 Apr 2010 05:06:46 +0000 (15:06 +1000)
committerAlex Elder <aelder@sgi.com>
Wed, 19 May 2010 14:58:10 +0000 (09:58 -0500)
commit9abbc539bf7f299819ad0a235064a1b643ab6407
tree0c15d4f4933bce3a1a1db19509f4993ce2e46286
parente6b1f27370fc67ac9868b2dbe2c22bc26952900e
xfs: add log item recovery tracing

Currently there is no tracing in log recovery, so it is difficult to
determine what is going on when something goes wrong.

Add tracing for log item recovery to provide visibility into the log
recovery process. The tracing added shows regions being extracted
from the log transactions and added to the transaction hash forming
recovery items, followed by the reordering, cancelling and finally
recovery of the items.

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