From: Niu Yawei Date: Wed, 13 Jul 2011 06:20:07 +0000 (-0700) Subject: LU-482 replay-dual test_0a failed X-Git-Tag: 2.1.53~56 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=b1bec2c47aa597cf96e60840b8dd97125d782a03 LU-482 replay-dual test_0a failed Running LVM on top of VM hypervisor has the write caching and write reordering problem for kernels prior to 2.6.33. This might corrupt the journal or fs metadata and lead to a mount failure in first replay-dual test being run (typically test_0a). Adding 10 seconds delay after the mount should be enough for the changes to be flushed to disk. Signed-off-by: Niu Yawei Signed-off-by: Oleg Drokin Change-Id: I68bcb298f94480b26e506f92b3c018530cfe6106 Reviewed-on: http://review.whamcloud.com/1157 Tested-by: Hudson Reviewed-by: Lai Siyao Tested-by: Maloo --- diff --git a/lustre/tests/replay-dual.sh b/lustre/tests/replay-dual.sh index e101d7c..8359981 100755 --- a/lustre/tests/replay-dual.sh +++ b/lustre/tests/replay-dual.sh @@ -38,6 +38,8 @@ rm -rf $DIR/[df][0-9]* [ "$DAEMONFILE" ] && $LCTL debug_daemon start $DAEMONFILE $DAEMONSIZE +sleep 10 # Avert LVM and VM inability to flush caches in pre .33 kernels + test_0a() { touch $MOUNT2/$tfile-A # force sync FLD/SEQ update before barrier replay_barrier $SINGLEMDS