From: green Date: Mon, 15 Dec 2003 10:36:15 +0000 (+0000) Subject: Implement saving of previous value of max_dirty_mb, as suggested by Andreas X-Git-Tag: 1.0.2~47 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=0ed1b9d7088b025fbfc43fa8166e1b592a43ad2c;p=fs%2Flustre-release.git Implement saving of previous value of max_dirty_mb, as suggested by Andreas --- 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 }