From de3e7f6fbf8f0f787233fa98354d8865ba401db2 Mon Sep 17 00:00:00 2001 From: adilger Date: Fri, 18 Mar 2005 09:10:21 +0000 Subject: [PATCH] Branch: b1_4 Write enough to send at least one BRW RPC to an OST, otherwise the client might cache the whole write and the VM not flush it before we re-enable BRWs. When that happens the client isn't evicted and our file compares OK. b=5595 --- lustre/tests/recovery-small.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/tests/recovery-small.sh b/lustre/tests/recovery-small.sh index 2ade83f..7412010 100755 --- a/lustre/tests/recovery-small.sh +++ b/lustre/tests/recovery-small.sh @@ -244,7 +244,8 @@ test_17() { # OBD_FAIL_PTLRPC_BULK_GET_NET 0x0503 | OBD_FAIL_ONCE # client will get evicted here sysctl -w lustre.fail_loc=0x80000503 - do_facet client cp /etc/termcap $DIR/$tfile + # need to write enough to ensure we send an RPC + do_facet client dd if=/dev/zero of=$DIR/$tfile bs=1024k count=2 sleep $TIMEOUT sysctl -w lustre.fail_loc=0 -- 1.8.3.1