From 0ed1b9d7088b025fbfc43fa8166e1b592a43ad2c Mon Sep 17 00:00:00 2001 From: green Date: Mon, 15 Dec 2003 10:36:15 +0000 Subject: [PATCH] Implement saving of previous value of max_dirty_mb, as suggested by Andreas --- lustre/tests/sanity.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index dab7b6d..51fe721 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -1590,6 +1590,7 @@ run_test 62 "verify obd_match failure doesn't LBUG (should -EIO)" # bug 2319 - osic_wait() interrupted causes crash because of invalid waitq. test_63() { + MAX_DIRTY_MB=`cat /proc/fs/lustre/osc/*/max_dirty_mb | head -1` for i in /proc/fs/lustre/osc/*/max_dirty_mb ; do echo 0 > $i done @@ -1601,7 +1602,7 @@ test_63() { done for i in /proc/fs/lustre/osc/*/max_dirty_mb ; do - echo $[ 64 ] > $i + echo $MAX_DIRTY_MB > $i done true } -- 1.8.3.1