]> 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>
Thu, 17 Oct 2024 17:28:22 +0000 (10:28 -0700)
commit966ef9dec1b73b51aa2ecb6ee752746341b6f3b1
tree6479e6da52dbe871c6d1d59cfacb699b59b2aa83
parent9b0e913668e9dee6a41accbfc609f8650f159b2c
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