xfs: test xfsprogs log formatting infrastructure

The xfsprogs libxfs layer implements its own log formatting code to
support utilities that might need to format the log, such as mkfs,
repair, metadump, etc. This code is fairly independent from kernel log
writing code. Therefore, add a test that reformats the log from
userspace with various supported log stripe unit alignments and verifies
that the end result is a correctly formatted log.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Brian Foster
2015-12-21 17:59:04 +11:00
committed by Dave Chinner
parent 7a33e8569a
commit 876161d544
4 changed files with 92 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
QA output created by 135
Formatting the log to cycle 3, stripe unit 16384 bytes.
Formatting the log to cycle 3, stripe unit 32768 bytes.
Formatting the log to cycle 3, stripe unit 65536 bytes.
Formatting the log to cycle 3, stripe unit 131072 bytes.
Formatting the log to cycle 3, stripe unit 262144 bytes.