Skip to content
Snippets Groups Projects
Commit 0ed1b9d7 authored by Oleg Drokin's avatar Oleg Drokin
Browse files

Implement saving of previous value of max_dirty_mb, as suggested by Andreas

parent d7036b78
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment