summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2016-07-21 16:47:51 -0700
committerEryu Guan <eguan@redhat.com>2016-08-12 11:17:19 +0800
commit7f6f53aa50ae2c5ca374548ef2ed98d8405c8e28 (patch)
treebea29372aaa2428075b17b44d88e88658a1106e2 /README
parent72cdba7141675c8d6a807ff92f217712aed6e044 (diff)
xfs: scrub fs at the end of the test
Teach _check_xfs_filesystem to scrub mounted filesystems before unmounting and fscking them. This is mostly to test the online scrub tool... Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
Diffstat (limited to 'README')
-rw-r--r--README3
1 files changed, 3 insertions, 0 deletions
diff --git a/README b/README
index 2be2053d..3cac4b35 100644
--- a/README
+++ b/README
@@ -94,6 +94,9 @@ Preparing system for tests (IRIX and Linux):
run xfs_repair -n to check the filesystem; xfs_repair to rebuild
metadata indexes; and xfs_repair -n (a third time) to check the
results of the rebuilding.
+ - set TEST_XFS_SCRUB=1 to have _check_xfs_filesystem run
+ xfs_scrub -vd to scrub the filesystem metadata online before
+ unmounting to run the offline check.
- or add a case to the switch in common/config assigning
these variables based on the hostname of your test