On Wed, Mar 24, 2021 at 08:06:28PM -0700, Darrick J. Wong wrote: > On Wed, Mar 24, 2021 at 03:21:24PM +0100, Christoph Hellwig wrote: > > The i_cowextsize field is only used for v3 inodes, and the i_flushiter > > field is only used for v1/v2 inodes. Use a union to pack the inode a > > littler better after adding a few missing guards around their usage. > > > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > > Hmm, so this patch caused a regression on V4 filesystems xfs/051. It > looks like the flush iter gets set to zero and then log recovery forgets > to replay the inode(?) > > The following patch fixes it for me, FWIW... Indeed. I've folded something similar in.