On Tue, Jan 23, 2018 at 06:18:29PM -0800, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > Track the number of blocks reserved in the CoW fork so that we can > move the quota reservations whenever we chown, and don't account for > CoW fork delalloc reservations in i_delayed_blks. This should make > chown work properly for quota reservations, enables us to fully > account for real extents in the cow fork in the file stat info, and > improves the post-eof scanning decisions because we're no longer > confusing data fork delalloc extents with cow fork delalloc extents. Just curious: is there any good reason we can't just have an i_extra_blocks field for the delayed and cow blocks? Or is there a place where we care about the difference between the two? -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html