diff options
author | Dave Chinner <dchinner@redhat.com> | 2010-04-13 15:06:46 +1000 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-05-19 09:58:10 -0500 |
commit | 9abbc539bf7f299819ad0a235064a1b643ab6407 (patch) | |
tree | 0c15d4f4933bce3a1a1db19509f4993ce2e46286 /fs/xfs/xfs_buf_item.h | |
parent | e6b1f27370fc67ac9868b2dbe2c22bc26952900e (diff) | |
download | linux-9abbc539bf7f299819ad0a235064a1b643ab6407.tar.gz linux-9abbc539bf7f299819ad0a235064a1b643ab6407.tar.bz2 linux-9abbc539bf7f299819ad0a235064a1b643ab6407.zip |
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>
Diffstat (limited to 'fs/xfs/xfs_buf_item.h')
-rw-r--r-- | fs/xfs/xfs_buf_item.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_buf_item.h b/fs/xfs/xfs_buf_item.h index 217f34af00cb..df4454511f73 100644 --- a/fs/xfs/xfs_buf_item.h +++ b/fs/xfs/xfs_buf_item.h @@ -26,7 +26,7 @@ extern kmem_zone_t *xfs_buf_item_zone; * have been logged. * For 6.2 and beyond, this is XFS_LI_BUF. We use this to log everything. */ -typedef struct xfs_buf_log_format_t { +typedef struct xfs_buf_log_format { unsigned short blf_type; /* buf log item type indicator */ unsigned short blf_size; /* size of this item */ ushort blf_flags; /* misc state */ |