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>
This commit is contained in:
@@ -49,6 +49,15 @@ typedef struct xfs_trans_header {
|
||||
#define XFS_LI_DQUOT 0x123d
|
||||
#define XFS_LI_QUOTAOFF 0x123e
|
||||
|
||||
#define XFS_LI_TYPE_DESC \
|
||||
{ XFS_LI_EFI, "XFS_LI_EFI" }, \
|
||||
{ XFS_LI_EFD, "XFS_LI_EFD" }, \
|
||||
{ XFS_LI_IUNLINK, "XFS_LI_IUNLINK" }, \
|
||||
{ XFS_LI_INODE, "XFS_LI_INODE" }, \
|
||||
{ XFS_LI_BUF, "XFS_LI_BUF" }, \
|
||||
{ XFS_LI_DQUOT, "XFS_LI_DQUOT" }, \
|
||||
{ XFS_LI_QUOTAOFF, "XFS_LI_QUOTAOFF" }
|
||||
|
||||
/*
|
||||
* Transaction types. Used to distinguish types of buffers.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user