]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_logprint: decode parent pointers in ATTRI items fully
authorAllison Henderson <allison.henderson@oracle.com>
Mon, 29 Jul 2024 23:23:21 +0000 (16:23 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:01:11 +0000 (17:01 -0700)
commit6a3ecdaeb1df80bb928b471baa09dc1405fbd693
treeafb00c30f1c35c86f8067795dce40b1b33faf8db
parent36770bef64a8f19eb2c2b302cd7a28cfeec4b416
xfs_logprint: decode parent pointers in ATTRI items fully

This patch modifies the ATTRI print routines to look for the parent
pointer flag, and decode logged parent pointers fully when dumping log
contents.  Between the existing ATTRI: printouts and the new ones
introduced here, we can figure out what was stored in each log iovec,
as well as the higher level parent pointer that was logged.

Signed-off-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
[djwong: adjust to new ondisk format]
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/libxfs_api_defs.h
logprint/log_redo.c