[LU-13911] sanity.sh:test_115(): sanity check for max_rpcs_in_flight set Created: 18/Aug/20  Updated: 26/Jan/22  Resolved: 26/Jan/22

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.15.0

Type: Bug Priority: Minor
Reporter: Vladimir Saveliev Assignee: Vladimir Saveliev
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

sanity.sh:test_115() should take care that it does not try to set max_rpcs_in_flight parameter to value bigger thanĀ OSC_MAX_RIF_MAX.



 Comments   
Comment by Gerrit Updater [ 18/Aug/20 ]

Vladimir Saveliev (c17830@cray.com) uploaded a new patch: https://review.whamcloud.com/39687
Subject: LU-13911 tests: take osc max_rpcs_in_flight limit into account
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 9915b58efd20083f240dd1cb65a30105d1e72e22

Comment by Vladimir Saveliev [ 29/Dec/21 ]

This problem can be seen with setting oss_num_threads parameter of ost module:

# MODOPTS_OST="oss_num_threads=65" ONLY=115 bash /usr/lib/lustre/tests/sanity.sh
...
quota/lquota options: 'hash_lqs_cur_bits=3'
ost/ost options: 'oss_num_threads=65'
Setup mgs, mdt, osts
...
== sanity test 115: verify dynamic thread creation============================================================================== 03:14:15 (1640477655)
...
Starting with 65 threads
osc.lustre-OST0000-osc-MDT0000.max_rpcs_in_flight=260
error: set_param: setting /sys/fs/lustre/osc/lustre-OST0000-osc-ffff9fbf401b4000/max_rpcs_in_flight=260: Numerical result out of range
osc.lustre-OST0001-osc-MDT0000.max_rpcs_in_flight=260
error: set_param: setting /sys/fs/lustre/osc/lustre-OST0001-osc-ffff9fbf401b4000/max_rpcs_in_flight=260: Numerical result out of range
 sanity test_115: @@@@@@ FAIL: Failed to set max_rpcs_in_flight to 260
...
Comment by Gerrit Updater [ 26/Jan/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/39687/
Subject: LU-13911 tests: take osc max_rpcs_in_flight limit into account
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 98c08ce83c9db6bee1513fc914ca075325bfae3c

Comment by Peter Jones [ 26/Jan/22 ]

Landed for 2.15

Generated at Sat Feb 10 03:05:15 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.