aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYilong Ren <yilongx.ren@intel.com>2016-03-03 10:33:11 +0800
committerAndi Kleen <ak@linux.intel.com>2016-04-11 15:32:38 -0700
commit73b7a8e77891d9aed9ceacbea2d0673e7378d9a0 (patch)
tree4b09258030a4c23fcd558398ac4e6106c1585135
parent3b9e5ace6452af34cc0881908ef7d7f44cb9f35e (diff)
downloadmce-test-73b7a8e77891d9aed9ceacbea2d0673e7378d9a0.tar.gz
hwpoison.sh: use xfs_repair instead of fsck.xfs
fsck.xfs is a no-op, use xfs_repair to check/repair filesystem. Signed-off-by: Yilong Ren <yilongx.ren@intel.com> Signed-off-by: Chen, Gong <gong.chen@linux.intel.com> Signed-off-by: Andi Kleen <ak@linux.intel.com>
-rwxr-xr-xcases/stress/hwpoison/hwpoison.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/cases/stress/hwpoison/hwpoison.sh b/cases/stress/hwpoison/hwpoison.sh
index 6cd3b82..2cf3f6e 100755
--- a/cases/stress/hwpoison/hwpoison.sh
+++ b/cases/stress/hwpoison/hwpoison.sh
@@ -741,6 +741,7 @@ run_fsck()
echo -n "" > $result
[ $g_fstype = "btrfs" ] && fsck="btrfsck"
+ [ $g_fstype = "xfs" ] && fsck="xfs_repair"
[ $g_fstype = "reiserfs" ] && {
fsck="reiserfsck"
opts="-y"