[LU-1213] Duplicate setting of mdtest_nFiles - parallel-scale.sh Created: 13/Mar/12  Updated: 04/Jan/13  Resolved: 12/Jun/12

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.2.0, Lustre 2.3.0
Fix Version/s: Lustre 2.3.0

Type: Bug Priority: Blocker
Reporter: Cliff White (Inactive) Assignee: Jian Yu
Resolution: Fixed Votes: 0
Labels: None
Environment:

Hyperion, Lustre 2.1.56


Severity: 3
Rank (Obsolete): 4603

 Description   

In parallel-scale.sh mdtest_nFiles is set on lines 69-71


mdtest_nFiles=${mdtest_nFiles:-"100000"}

  1. We devide the files by number of core
    mdtest_nFiles=$((mdtest_nFiles/mdtest_THREADS/num_clients))
    ------
    However, this is duplicated in functions.sh run_mdtest() lines 415-417
    -------

mdtest_nFiles=${mdtest_nFiles:-"100000"}

  1. We devide the files by number of core
    mdtest_nFiles=$((mdtest_nFiles/mdtest_THREADS/num_clients))

Result: test attempts to use mdtest_nFiles/mdtest_THREADS/num_clients/num_clients - number of files is too small



 Comments   
Comment by Peter Jones [ 05/Apr/12 ]

Yujian

Please can you get this issue corrected?

Thanks

Peter

Comment by Jian Yu [ 06/Apr/12 ]

Cliff already created a patch for master branch: http://review.whamcloud.com/#change,2306. The fix is also needed on b2_2 branch.

Comment by Jian Yu [ 12/Jun/12 ]

The patch has been landed on master branch.

Generated at Sat Feb 10 01:14:35 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.