Skip to content
Snippets Groups Projects
Commit a9c91dfb authored by Johann Lombardi's avatar Johann Lombardi
Browse files

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.
parent 34c7710b
No related branches found
No related tags found
No related merge requests found
...@@ -3267,7 +3267,7 @@ set_checksum_type() ...@@ -3267,7 +3267,7 @@ set_checksum_type()
[ "$ORIG_CSUM_TYPE" ] || \ [ "$ORIG_CSUM_TYPE" ] || \
ORIG_CSUM_TYPE=`lctl get_param -n osc/*osc-[^mM]*/checksum_type | ORIG_CSUM_TYPE=`lctl get_param -n osc/*osc-[^mM]*/checksum_type |
sed 's/.*\[\(.*\)\].*/\1/g' | head -n1` 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" log "set checksum type to $1"
return 0 return 0
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment