From a9c91dfb8d8c88764f797d4ef3d5993880a8b380 Mon Sep 17 00:00:00 2001 From: johann Date: Tue, 24 Jun 2008 08:12:44 +0000 Subject: [PATCH] Branch HEAD b=15677 i=zhenyu.xu Tiny fix when the MDS is also the client node. Don't set the checksum type for 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 a8a7175..981fba9 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -3267,7 +3267,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