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

index a8a7175..981fba9 100644 (file)
@@ -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
 }