From 73fedc6bd29b6c3edcd8086ce46e8127bf582107 Mon Sep 17 00:00:00 2001
From: ericm <ericm>
Date: Wed, 19 Dec 2007 19:15:35 +0000
Subject: [PATCH] branch: b1_6 fix AT test: using O_SYNC to trigger bulk write.
 b=13659 r=johann, nathan

---
 lustre/tests/replay-single.sh | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh
index 15e10d9fc5..836917225d 100755
--- a/lustre/tests/replay-single.sh
+++ b/lustre/tests/replay-single.sh
@@ -1456,11 +1456,7 @@ test_65b() #bug 3055
     rm -f $DIR/$tfile
     lfs setstripe $DIR/$tfile --index=0 --count=1
     # force some real bulk transfer
-    dd if=/dev/urandom of=$TMP/big bs=1M count=4
-    cp $TMP/big $DIR/$tfile
-    echo "append" >> $DIR/$tfile
-    cat $DIR/$tfile >> /dev/null
-    rm $TMP/big
+    multiop $DIR/$tfile oO_CREAT:O_RDWR:O_SYNC:w4096c
 
     do_facet ost1 sysctl -w lustre.fail_loc=0
     # check for log message
-- 
GitLab