From: adilger Date: Fri, 18 Mar 2005 09:10:21 +0000 (+0000) Subject: Branch: b1_4 X-Git-Tag: v1_8_0_110~486^7~127 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=de3e7f6fbf8f0f787233fa98354d8865ba401db2;p=fs%2Flustre-release.git 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 --- 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