Whamcloud - gitweb
LU-4981 tests: remount FS after writes to /proc 74/10174/6
authorwang di <di.wang@intel.com>
Thu, 1 May 2014 11:20:12 +0000 (04:20 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 4 May 2014 07:05:02 +0000 (07:05 +0000)
We should remount FS after writes all proc entry in 133g,
because some upcall value under /proc will be assigned to
some gabarge value, which will cause failures in the
following test.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: Ic120e19651a4a7897a6329a93feff1644c778286
Reviewed-on: http://review.whamcloud.com/10174
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity.sh

index e2034b8..4b8a65a 100644 (file)
@@ -8984,6 +8984,9 @@ test_133g() {
 
        done
 
+       # remount the FS in case writes/reads /proc break the FS
+       cleanup || error "failed to unmount"
+       setup || error "failed to setup"
        true
 }
 run_test 133g "Check for Oopses on bad io area writes/reads in /proc"