diff mbox series

[2/3] xfs/122: add attribute log formats to test output.

Message ID 20220516060807.1295102-3-david@fromorbit.com (mailing list archive)
State New, archived
Headers show
Series fstests: test updates for XFS 5.19 kernel mods | expand

Commit Message

Dave Chinner May 16, 2022, 6:08 a.m. UTC
From: Dave Chinner <dchinner@redhat.com>

Now that we have merged logged attributes, add the attribute log
format sizes to the on-disk structure size checking.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
---
 tests/xfs/122.out | 2 ++
 1 file changed, 2 insertions(+)

Comments

Darrick J. Wong May 16, 2022, 3:27 p.m. UTC | #1
On Mon, May 16, 2022 at 04:08:06PM +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner@redhat.com>
> 
> Now that we have merged logged attributes, add the attribute log
> format sizes to the on-disk structure size checking.
> 
> Signed-off-by: Dave Chinner <dchinner@redhat.com>

Looks correct,
Reviewed-by: Darrick J. Wong <djwong@kernel.org>

--D

> ---
>  tests/xfs/122.out | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tests/xfs/122.out b/tests/xfs/122.out
> index 608faa4b..a56cbee8 100644
> --- a/tests/xfs/122.out
> +++ b/tests/xfs/122.out
> @@ -63,6 +63,8 @@ sizeof(struct xfs_attr3_leaf_hdr) = 80
>  sizeof(struct xfs_attr3_leafblock) = 88
>  sizeof(struct xfs_attr3_rmt_hdr) = 56
>  sizeof(struct xfs_attr_shortform) = 8
> +sizeof(struct xfs_attrd_log_format) = 16
> +sizeof(struct xfs_attri_log_format) = 40
>  sizeof(struct xfs_btree_block) = 72
>  sizeof(struct xfs_btree_block_lhdr) = 64
>  sizeof(struct xfs_btree_block_shdr) = 48
> -- 
> 2.35.1
>
diff mbox series

Patch

diff --git a/tests/xfs/122.out b/tests/xfs/122.out
index 608faa4b..a56cbee8 100644
--- a/tests/xfs/122.out
+++ b/tests/xfs/122.out
@@ -63,6 +63,8 @@  sizeof(struct xfs_attr3_leaf_hdr) = 80
 sizeof(struct xfs_attr3_leafblock) = 88
 sizeof(struct xfs_attr3_rmt_hdr) = 56
 sizeof(struct xfs_attr_shortform) = 8
+sizeof(struct xfs_attrd_log_format) = 16
+sizeof(struct xfs_attri_log_format) = 40
 sizeof(struct xfs_btree_block) = 72
 sizeof(struct xfs_btree_block_lhdr) = 64
 sizeof(struct xfs_btree_block_shdr) = 48