xfs: don't log the entire end of the AGF
When we're logging the last non-spare field in the AGF, we don't need to log the spare fields, so plumb in a new AGF logging flag to help us avoid that. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:

committed by
Dave Chinner

parent
738f57c16a
commit
da1f039d69
@@ -2278,6 +2278,8 @@ xfs_alloc_log_agf(
|
||||
offsetof(xfs_agf_t, agf_btreeblks),
|
||||
offsetof(xfs_agf_t, agf_uuid),
|
||||
offsetof(xfs_agf_t, agf_rmap_blocks),
|
||||
/* needed so that we don't log the whole rest of the structure: */
|
||||
offsetof(xfs_agf_t, agf_spare64),
|
||||
sizeof(xfs_agf_t)
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user