From c4cb5e5f0e316f986eae3b11be4f5d81756b85b6 Mon Sep 17 00:00:00 2001 From: Lai Siyao Date: Tue, 5 Jul 2011 09:13:39 -0700 Subject: [PATCH] LU-479 sanity 124a failed add message to help debug. Signed-off-by: Lai Siyao Change-Id: I4e675ed3eeb509c9ba4f1c25420596c0d5357459 Reviewed-on: http://review.whamcloud.com/1052 Tested-by: Hudson Reviewed-by: Andreas Dilger --- lustre/tests/sanity.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index ea9feda..9d7e7b6 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -6041,6 +6041,7 @@ test_124a() { LRU_SIZE=$(lctl get_param -n $PARAM) if [ $LRU_SIZE -gt $(default_lru_size) ]; then NSDIR=$(echo $PARAM | cut -d "." -f1-3) + log "NSDIR=$NSDIR" log "NS=$(basename $NSDIR)" break fi @@ -6058,6 +6059,7 @@ test_124a() { # for 10h. After that locks begin to be killed by client. local MAX_HRS=10 local LIMIT=`lctl get_param -n $NSDIR.pool.limit` + log "LIMIT=$LIMIT" # Make LVF so higher that sleeping for $SLEEP is enough to _start_ # killing locks. Some time was spent for creating locks. This means @@ -6072,6 +6074,7 @@ test_124a() { local LRU_SIZE_B=$LRU_SIZE log "LVF=$LVF" local OLD_LVF=`lctl get_param -n $NSDIR.pool.lock_volume_factor` + log "OLD_LVF=$OLD_LVF" lctl set_param -n $NSDIR.pool.lock_volume_factor $LVF # Let's make sure that we really have some margin. Client checks -- 1.8.3.1