From 70527b104cf4bd2361ca5a8090e712a6fa2a8f31 Mon Sep 17 00:00:00 2001 From: johann Date: Tue, 24 Jun 2008 08:42:55 +0000 Subject: [PATCH] Branch b1_8 b=15677 i=zhenyu.xu Tiny fix when the MDS is also the client node. Don't change the checksum type on MDS's OSCs. --- lustre/tests/sanity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index cd09890..fe7bc98 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -3178,7 +3178,7 @@ set_checksum_type() [ "$ORIG_CSUM_TYPE" ] || \ ORIG_CSUM_TYPE=`lctl get_param -n osc.*osc-[^mM]*.checksum_type | sed 's/.*\[\(.*\)\].*/\1/g' \ | head -n1` - lctl set_param -n osc.*osc-*.checksum_type $1 + lctl set_param -n osc.*osc-[^mM]*.checksum_type $1 log "set checksum type to $1" return 0 } -- 1.8.3.1