Re: [PATCH 2/2] xfs_repair: retain superblock buffer to avoid write hook deadlock

Christoph Hellwig
2022-08-11T12:47:30Z

Maybe we just simply need to set NEEDSREPAIR for any run that does
not specify the no-modify flag and avoid this magic lazy behavior?

That being said the code looks sane if we can't fix this better by
just working differently.