]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs: support xfs_metadump with external logs
authorDave Chinner <dchinner@redhat.com>
Mon, 20 Jan 2014 06:22:35 +0000 (06:22 +0000)
committerRich Johnston <rjohnston@sgi.com>
Wed, 22 Jan 2014 13:21:19 +0000 (07:21 -0600)
commitb04b0fd675d9464f7adb2f5236542d2fed436ecf
treee8a670225e6a38c11730b675b7be54abcb7927c1
parent5b524eedc5de8b119033be14a4768f4bec6be7bb
xfs: support xfs_metadump with external logs

When running xfstests with an external log, the metadump tests fail
with extra output like:

    +filesystem is marked as having an external log; specify logdev on the mount command line.
    +xfs_metadump: cannot read superblock for ag 0

Add a _scratch_metadump() function to handle different logdev
configurations automatically for metadump.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
common/rc
tests/xfs/253
tests/xfs/291