Re: [PATCH 5/5] xfs: verify buffer, inode, and dquot items every tx commit

Christoph Hellwig
2024-06-14T04:42:42Z

On Thu, Jun 13, 2024 at 08:49:49PM -0700, Darrick J. Wong wrote:
> > Hence I think this should be pushed into a separate debug config
> > sub-option. Make it something we can easily turn on with
> > KASAN and lockdep when we our periodic costly extensive validation
> > test runs.
>
> Do you want a CONFIG_XFS_DEBUG_EXPENSIVE=y guard, then? Some of the
> bmbt scanning debug things might qualify for that too.

Or EXPENSIVE_VALIDATION. Another option would be a runtime selection,
but that feels like a bit too much to bother.