From: yury Date: Thu, 1 Nov 2007 09:39:14 +0000 (+0000) Subject: b=13854 X-Git-Tag: v1_8_0_110~1037 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=54b474f76d18dc98869995580c81afbcc2c4cd32;p=fs%2Flustre-release.git b=13854 r=adilger - fixed LVF calculation in test_124a. --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index d42ef3f..3ee4f24 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -4678,7 +4678,7 @@ test_124a() { # and we need to additionally enforce LVF to take this into account. # Use $LRU_SIZE_B here to take into account real number of locks created # in the case of CMD, LRU_SIZE_B != $NR in most of cases - LVF=$(($LRU_SIZE_B * $MAX_HRS * 60 * 60)) + LVF=$(($MAX_HRS * 60 * 60 * $LIMIT / $SLEEP)) log "make client drop locks $LVF times faster so that ${SLEEP}s is enough to cancel $LRU_SIZE_B lock(s)" OLD_LVF=`cat $NSDIR/pool/lock_volume_factor` echo "$LVF" > $NSDIR/pool/lock_volume_factor