Skip to content

xfstests: xfsprogs logformat tests

Brian Foster fstests linux-xfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tests/xfs: test xfsprogs log formatting infrastructurecommon/rc tests/xfs/376 tests/xfs/376.out +1 more+92 -00 replies
2/2tests/xfs: verify invalid metadata LSN detectiontests/xfs/377 tests/xfs/377.out tests/xfs/group+94 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] xfstests: xfsprogs logformat tests

Hi all,

Here are a couple prospective tests that use the recently posted xfs_db logformat command:

http://oss.sgi.com/pipermail/xfs/2015-November/045139.html

Note that these should not be merged until xfs_db logformat support is fully reviewed and merged into xfsprogs. Also note that the test numbers are arbitrarily high and should be renumbered.

Patch 1 adds a test that uses xfs_logprint to verify that logformat formats the log correctly with various stripe unit alignments. Patch 2 uses the logformat command to test invalid metadata LSN detection and recovery. Thoughts, reviews, flames appreciated.

Brian

Brian Foster (2):
tests/xfs: test xfsprogs log formatting infrastructure tests/xfs: verify invalid metadata LSN detection

 common/rc         | 14 +++++++++
 tests/xfs/376     | 71 +++++++++++++++++++++++++++++++++++++++++++
 tests/xfs/376.out |  6 ++++
 tests/xfs/377     | 90 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/xfs/377.out |  3 ++
 tests/xfs/group   |  2 ++
 6 files changed, 186 insertions(+)
 create mode 100755 tests/xfs/376
 create mode 100644 tests/xfs/376.out
 create mode 100755 tests/xfs/377
 create mode 100644 tests/xfs/377.out
Signature · 1 line
2.1.0