]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common/xfs: create a helper for restoring metadumps to the scratch devs
authorDarrick J. Wong <djwong@kernel.org>
Tue, 13 Dec 2022 19:45:20 +0000 (11:45 -0800)
committerZorro Lang <zlang@kernel.org>
Sat, 17 Dec 2022 10:38:19 +0000 (18:38 +0800)
commit830b45aa636f1816e161f05177a41c1ec3625665
tree28f9149124e8ab688635cd18bd88690b0e26a2ea
parent538abf799424a769f2f546790b12508932838586
common/xfs: create a helper for restoring metadumps to the scratch devs

Refactor the open-coded $XFS_MDRESTORE_PROG calls into a proper
_scratch_xfs_mdrestore helper.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/xfs
tests/xfs/129
tests/xfs/234
tests/xfs/253
tests/xfs/284
tests/xfs/291
tests/xfs/336
tests/xfs/432
tests/xfs/503