diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-06-28 13:21:45 -0700 |
---|---|---|
committer | Zorro Lang <zlang@kernel.org> | 2022-07-02 21:38:42 +0800 |
commit | 36f382f991efb5989e7aa59b002904eff06a8095 (patch) | |
tree | 0cbb12594c2ce8dd607b08dc4441cf46a7b11d15 /check | |
parent | e861a30255c9780425ee5193325d30882fbe7410 (diff) | |
download | xfstests-dev-36f382f991efb5989e7aa59b002904eff06a8095.tar.gz |
check: document mkfs.xfs reliance on fstests exports
There are a number of fstests that employ special (and now unsupported)
XFS filesystem configurations to perform testing in a controlled
environment. The presence of the QA_CHECK_FS and MSGVERB variables are
used by mkfs.xfs to detect that it's running inside fstests, which
enables the unsupported configurations. Nobody else should be using
filesystems with tiny logs, non-redundant superblocks, or smaller than
the (new) minimum supported size.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
Diffstat (limited to 'check')
-rwxr-xr-x | check | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -33,6 +33,9 @@ _err_msg="" # start the initialisation work now iam=check +# mkfs.xfs uses the presence of both of these variables to enable formerly +# supported tiny filesystem configurations that fstests use for fuzz testing +# in a controlled environment export MSGVERB="text:action" export QA_CHECK_FS=${QA_CHECK_FS:=true} |