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.