X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Fsanity.sh;h=f1235f13b857d9acbdf67922928a55d7d622bb24;hp=23e4f8f54a93044f8f5772afb870fd4ead8e2fe8;hb=51ed079112c9a9eeac37eaf680637a4d04dd3cc9;hpb=78b38388cc3aa8f2f9ed367bc812165f24cbdb6a diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 23e4f8f..f1235f1 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -4192,7 +4192,7 @@ set_checksums() return 0 } -export ORIG_CSUM_TYPE="`lctl get_param -n osc/*osc-[^mM]*/checksum_type | +export ORIG_CSUM_TYPE="`lctl get_param -n osc.*osc-[^mM]*.checksum_type | sed 's/.*\[\(.*\)\].*/\1/g' | head -n1`" CKSUM_TYPES=${CKSUM_TYPES:-"crc32 adler"} [ "$ORIG_CSUM_TYPE" = "crc32c" ] && CKSUM_TYPES="$CKSUM_TYPES crc32c" @@ -6176,7 +6176,7 @@ test_124a() { done echo "" lctl set_param -n $NSDIR.pool.lock_volume_factor $OLD_LVF - local LRU_SIZE_A=`lctl get_param -n $NSDIR/lru_size` + local LRU_SIZE_A=`lctl get_param -n $NSDIR.lru_size` [ $LRU_SIZE_B -gt $LRU_SIZE_A ] || { error "No locks dropped in ${SLEEP}s. LRU size: $LRU_SIZE_A"