[LU-11874] conf_param brw_size seems broken Created: 18/Jan/19  Updated: 08/Feb/19  Resolved: 08/Feb/19

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

Type: Bug Priority: Trivial
Reporter: Stephane Thiell Assignee: Joseph Gmitter (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Environment:

CentOS 7.6


Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

No big deal but I just noticed that:

lctl conf_param fsname-OST*.obdfilter.brw_size=16

from the Lustre manual, seems broken. It doesn't change the brw_size values, even after remounting the OSTs.

using

echo 16 > /proc/fs/lustre/obdfilter/*${ost}*/brw_size

or

lctl set_param obdfilter.fir-OST*.brw_size=16

just works fine to change the values temporarily. We use tuning.conf from shine which is applied at mount time so it doesn't really affect us but it might affect others. This is with 2.12.0.
 



 Comments   
Comment by Andreas Dilger [ 18/Jan/19 ]

I don't think you can use wildcards with conf_param. It would be better to use lctl set_param -P obdfilter.*.brw_size=16.

Comment by James A Simmons [ 18/Jan/19 ]

Yep. If  you want to use wildcards you need to use lctl set_param -P obdfilter.*.brw_size=16.

Comment by Stephane Thiell [ 18/Jan/19 ]

Ah, thanks much!
This will need to be fixed there then: https://build.whamcloud.com/job/lustre-manual/lastSuccessfulBuild/artifact/lustre_manual.xhtml#idm139818994057696

Comment by Andreas Dilger [ 18/Jan/19 ]

Joe, I think this one is for you.

Comment by Gerrit Updater [ 06/Feb/19 ]

Joseph Gmitter (jgmitter@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34193
Subject: LU-11874 rpc: Update command to persisently set brw_size
Project: doc/manual
Branch: master
Current Patch Set: 1
Commit: c56deb76ee178eb882c778fece62933221f1f8ec

Comment by Gerrit Updater [ 08/Feb/19 ]

Joseph Gmitter (jgmitter@whamcloud.com) merged in patch https://review.whamcloud.com/34193/
Subject: LU-11874 rpc: Update command to persisently set brw_size
Project: doc/manual
Branch: master
Current Patch Set:
Commit: 65203477576544bf5f75b8820b1ad2058ae6e249

Comment by Joseph Gmitter (Inactive) [ 08/Feb/19 ]

The documentation patch has landed to the doc branch.

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