+ if [ $dirstripe_index -eq -1 ]; then
+ mdt_index=$((RANDOM % MDSCOUNT))
+ else
+ mdt_index=$dirstripe_index
+ fi
+
+ if (($MDS1_VERSION >= $(version_code 2.8.0))); then
+ if [ $dirstripe_count -eq -1 ]; then
+ dirstripe_count=$((RANDOM % MDSCOUNT + 1))
+ fi