From b1bec2c47aa597cf96e60840b8dd97125d782a03 Mon Sep 17 00:00:00 2001 From: Niu Yawei Date: Tue, 12 Jul 2011 23:20:07 -0700 Subject: [PATCH] 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 --- lustre/tests/replay-dual.sh | 2 ++ 1 file changed, 2 insertions(+) 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 -- 1.8.3.1