Re: [PATCH 09/10] xfs_repair: add a testing hook for NEEDSREPAIR
From: Christoph Hellwig <hch@infradead.org>
Date: 2021-02-09 09:20:59
From: Christoph Hellwig <hch@infradead.org>
Date: 2021-02-09 09:20:59
On Mon, Feb 08, 2021 at 08:10:55PM -0800, Darrick J. Wong wrote:
From: Darrick J. Wong <djwong@kernel.org> Simulate a crash when anyone calls force_needsrepair. This is a debug knob so that we can test that the kernel won't mount after setting needsrepair and that a re-run of xfs_repair will clear the flag. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Looks good, Reviewed-by: Christoph Hellwig <hch@lst.de>