Whamcloud - gitweb
Branch b1_8
authorjohann <johann>
Tue, 24 Jun 2008 08:42:55 +0000 (08:42 +0000)
committerjohann <johann>
Tue, 24 Jun 2008 08:42:55 +0000 (08:42 +0000)
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

index cd09890..fe7bc98 100644 (file)
@@ -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
 }