]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common/populate: refactor caching of metadumps to a helper
authorDarrick J. Wong <djwong@kernel.org>
Thu, 20 Feb 2025 21:47:05 +0000 (13:47 -0800)
committerZorro Lang <zlang@kernel.org>
Thu, 6 Mar 2025 13:25:55 +0000 (21:25 +0800)
commitb414487e555d483f893e65d86b75e57d7721710b
treedd63a24dd5316094d3da1569a8e721d4586bf6fd
parent7ec4ddb833a2d1056bc7582837f6262881e6fa8b
common/populate: refactor caching of metadumps to a helper

Hoist out of _scratch_populate_cached all the code that we use to save a
metadump of the populated filesystem.  We're going to make this more
involved for XFS in the next few patches so that we can take advantage
of the new support for external devices in metadump/mdrestore.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/populate