[LU-10330] Interop sanity test_101g: unable to set max_pages_per_rpc=4M Created: 05/Dec/17  Updated: 19/Dec/17  Resolved: 17/Dec/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.10.0, Lustre 2.10.1
Fix Version/s: Lustre 2.11.0, Lustre 2.10.3

Type: Bug Priority: Minor
Reporter: Emoly Liu Assignee: Emoly Liu
Resolution: Fixed Votes: 0
Labels: None
Environment:

server: 2.7.19.10
client: 2.10.2 RC1


Issue Links:
Duplicate
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

This issue was created by maloo for sarah_lw <wei3.liu@intel.com>

The sub-test test_101g failed with the following error:

unable to set max_pages_per_rpc=4M

== sanity test 101g: Big bulk(4/16 MiB) readahead ==================================================== 19:57:32 (1511812652)
CMD: onyx-39vm7 /usr/sbin/lctl get_param -n obdfilter.*.brw_size
CMD: onyx-39vm7 /usr/sbin/lctl get_param -n version 2>/dev/null ||
    /usr/sbin/lctl lustre_build_version 2>/dev/null ||
    /usr/sbin/lctl --version 2>/dev/null | cut -d' ' -f2
error: set_param: setting /proc/fs/lustre/osc/lustre-OST0000-osc-ffff880068773800/max_pages_per_rpc=4M: Numerical result out of range
error: set_param: setting /proc/fs/lustre/osc/lustre-OST0001-osc-ffff880068773800/max_pages_per_rpc=4M: Numerical result out of range
error: set_param: setting /proc/fs/lustre/osc/lustre-OST0002-osc-ffff880068773800/max_pages_per_rpc=4M: Numerical result out of range
error: set_param: setting /proc/fs/lustre/osc/lustre-OST0003-osc-ffff880068773800/max_pages_per_rpc=4M: Numerical result out of range
error: set_param: setting /proc/fs/lustre/osc/lustre-OST0004-osc-ffff880068773800/max_pages_per_rpc=4M: Numerical result out of range
error: set_param: setting /proc/fs/lustre/osc/lustre-OST0005-osc-ffff880068773800/max_pages_per_rpc=4M: Numerical result out of range
error: set_param: setting /proc/fs/lustre/osc/lustre-OST0006-osc-ffff880068773800/max_pages_per_rpc=4M: Numerical result out of range
 sanity test_101g: @@@@@@ FAIL: unable to set max_pages_per_rpc=4M 



 Comments   
Comment by Andreas Dilger [ 05/Dec/17 ]

It looks like this is caused by the test checking for version 2.8.52 on the server before setting brw_size to be larger. With 2.7.x the 16MB RPC patch is available, but the default brw_size is 1MB.

The test needs to be updated to check for version 2.7.17 or later to set brw_size=16 and enable the 8MB and 16MB RPC tests. The suffix="M" change is NOT available in 2.7.x and should be left under the version > 2.9.52 check.

This should be fixed in b2_10 and master.

Comment by Gerrit Updater [ 05/Dec/17 ]

Emoly Liu (emoly.liu@intel.com) uploaded a new patch: https://review.whamcloud.com/30365
Subject: LU-10330 tests: fix version check in sanity.sh test_101g
Project: fs/lustre-release
Branch: b2_10
Current Patch Set: 1
Commit: 538e221f27e77a13f3b31224a944d3885320e351

Comment by Gerrit Updater [ 05/Dec/17 ]

Emoly Liu (emoly.liu@intel.com) uploaded a new patch: https://review.whamcloud.com/30366
Subject: LU-10330 tests: fix version check in sanity.sh test_101g
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 2cef0243d63c3f3747c01e5281a669e507920148

Per Andreas' review comment, this one has been abandoned because the new one #30389 is created with the same Change-Id:I6eeefbf74017aaeeb8998accd6da04d8de75606c to #30365 for b2_10.

Comment by Gerrit Updater [ 06/Dec/17 ]

Emoly Liu (emoly.liu@intel.com) uploaded a new patch: https://review.whamcloud.com/30389
Subject: LU-10330 tests: fix version check in sanity.sh test_101g
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: d05869c92f5289acddc0fb5b40834408153e55a4

Comment by Gerrit Updater [ 17/Dec/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30389/
Subject: LU-10330 tests: fix version check in sanity.sh test_101g
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 4741a558e6bb12b08928819725e568991ddefbab

Comment by Peter Jones [ 17/Dec/17 ]

Landed for 2.11

Comment by Gerrit Updater [ 19/Dec/17 ]

John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/30365/
Subject: LU-10330 tests: fix version check in sanity.sh test_101g
Project: fs/lustre-release
Branch: b2_10
Current Patch Set:
Commit: 009c986bb5e7fea309ebce1427437d7bbceedc6f

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