]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common/xfs: capture realtime devices during metadump/mdrestore
authorDarrick J. Wong <djwong@kernel.org>
Thu, 20 Feb 2025 21:47:08 +0000 (13:47 -0800)
committerZorro Lang <zlang@kernel.org>
Thu, 6 Mar 2025 13:25:55 +0000 (21:25 +0800)
commitfbe029eba5d6ebfa4c0bc985d32ccbdfa0b76043
tree1e735e52f809d33bfc5503f1e0682f845ab60375
parentbfc51793acbadf2fc35b1e0809f41de65cbc8a25
common/xfs: capture realtime devices during metadump/mdrestore

If xfs_metadump supports the -r switch to capture the contents of
realtime devices and there is a realtime device, add the option to the
command line to enable preservation.

Similarly, if the dump file could restore to an external scratch rtdev,
pass the -r option to mdrestore so that we can restore rtdev contents.

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/metadump
common/populate
common/xfs