X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Fsanity-scrub.sh;h=ac75e5dd630684b1676c43d147455b19eb255eee;hp=dae61a3b3785f7c53d39b0fb5d6bef3bc797ef56;hb=867cfd7be30bd61278ce86836e25e88414c02fc6;hpb=09a53f30e40e4897318698742f87cfe4f03d2e20 diff --git a/lustre/tests/sanity-scrub.sh b/lustre/tests/sanity-scrub.sh index dae61a3..ac75e5d 100644 --- a/lustre/tests/sanity-scrub.sh +++ b/lustre/tests/sanity-scrub.sh @@ -38,8 +38,8 @@ SAVED_OSTCOUNT=${OSTCOUNT} # use small MDS + OST size to speed formatting time # do not use too small MDSSIZE/OSTSIZE, which affect the default journal size # 400M MDT device can guarantee uninitialized groups during the OI scrub -MDSSIZE=400000 -OSTSIZE=200000 +[[ $MDSSIZE < 400000 || "$mds1_FSTYPE" == ldiskfs ]] && MDSSIZE=400000 +[[ $OSTSIZE < 400000 || "$ost1_FSTYPE" == ldiskfs ]] && OSTSIZE=400000 # no need too many OSTs, to reduce the format/start/stop overhead [ $OSTCOUNT -gt 4 ] && OSTCOUNT=4