From c1f64852eb7db8bbbd758d23c6245d8c1f8a3ca3 Mon Sep 17 00:00:00 2001 From: adilger Date: Tue, 27 Nov 2007 00:30:46 +0000 Subject: [PATCH] Branch b1_6 Skip swap-on-lustre test 68, it can deadlock on TCP due to inability to allocate receive buffers. b=14033 i=jay --- lustre/tests/sanity.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 72288af..5188f5f 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -2853,9 +2853,12 @@ test_68() { grep -q llite_lloop /proc/modules [ $? -ne 0 ] && skip "can't find module llite_lloop" && return - MEMTOTAL=`meminfo MemTotal` - NR_BLOCKS=$((MEMTOTAL>>8)) - [[ $NR_BLOCKS -le 2048 ]] && NR_BLOCKS=2048 + [ -z "`$LCTL list_nids | grep -v tcp`" ] && \ + skip "can't reliably test swap with TCP" && return + + MEMTOTAL=`meminfo MemTotal` + NR_BLOCKS=$((MEMTOTAL>>8)) + [[ $NR_BLOCKS -le 2048 ]] && NR_BLOCKS=2048 LLOOP=$TMP/lloop.`date +%s`.`date +%N` dd if=/dev/zero of=$DIR/f68 bs=64k seek=$NR_BLOCKS count=1 -- 1.8.3.1