]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
common/ext4: reformat external logs during mdrestore operations
authorDarrick J. Wong <djwong@kernel.org>
Tue, 6 Feb 2024 00:06:40 +0000 (16:06 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 1 Nov 2024 20:41:57 +0000 (13:41 -0700)
commitc01d9785549a9a63c38cb84c6919f2cd03ea406d
treea72895ccd873653185fa730b1e6b3e73508ad03b
parent294811e91a3780269b48ee02173e23c10f606d43
common/ext4: reformat external logs during mdrestore operations

The e2image file format doesn't support the capture of external log
devices, which means that mdrestore ought to reformat the external log
to get the restored filesystem to work again.  The common/populate code
could already do this, so push it to the common ext4 helper.

While we're at it, fix the uncareful usage of SCRATCH_LOGDEV in the
populate code.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
common/ext4
common/populate