X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Ffunctions.sh;h=b016732e55d3b440db87302324c753ef26ecb838;hb=06e586016d3acc490f922e43e3aee6b8112a2803;hp=0913c84c287ad4e1ba5758085e769fd265d3678a;hpb=0daeebcbdc4e89d59221299f2687cfd3c4f00b5b;p=fs%2Flustre-release.git diff --git a/lustre/tests/functions.sh b/lustre/tests/functions.sh index 0913c84..b016732 100644 --- a/lustre/tests/functions.sh +++ b/lustre/tests/functions.sh @@ -1061,16 +1061,13 @@ run_rr_alloc() { # create_count accepted values: # [OST_MIN_PRECREATE=32, OST_MAX_PRECREATE=20000] - # values outside this range are ignored and -ERANGE is returned. - # NOTE: actual maximum value is 16384 (2^14) + # values exceeding OST_MAX_PRECREATE are lowered to the maximum. [[ $create_count -lt 32 ]] && create_count=32 - [[ $create_count -gt 20000 ]] && create_count=20000 local i for i in $(seq $MDSCOUNT); do do_facet mds$i "$LCTL set_param -n \ lod.$FSNAME-MDT*.qos_threshold_rr=100 \ - osp.$FSNAME-OST*-osc-MDT*.create_count=$create_count" || - error "failed while setting qos_threshold_rr & creat_count" + osp.$FSNAME-OST*-osc-MDT*.create_count=$create_count" done # Create few temporary files in order to increase the precreated objects