]> 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>
Wed, 7 Aug 2024 20:23:22 +0000 (13:23 -0700)
commit51c2fa3dbc2b3fb1af1d06b3ce747cbebdac6f0e
tree33731cd821ca1fcb839eae60695e35df9da5bfeb
parent3288e640d4c805588dc9057454bdc6f2f114c7c6
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