[LU-10603] ptlrpc_lprocfs_req_buffers_max_fops unused Created: 05/Feb/18  Updated: 02/Jan/19  Resolved: 22/Feb/18

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.11.0, Lustre 2.10.6

Type: Bug Priority: Minor
Reporter: Alex Zhuravlev Assignee: Alex Zhuravlev
Resolution: Fixed Votes: 0
Labels: None
Environment:

after LU-9372 landing gcc7 complains:
lustre/ptlrpc/lproc_ptlrpc.c:382:16: error: ‘ptlrpc_lprocfs_req_buffers_max_fops’ defined but not used [-Werror=unused-const-variable=]
LPROC_SEQ_FOPS(ptlrpc_lprocfs_req_buffers_max);
^


Issue Links:
Related
is related to LU-9372 OOM happens on OSS during Lustre reco... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Comments   
Comment by Gerrit Updater [ 05/Feb/18 ]

Alex Zhuravlev (alexey.zhuravlev@intel.com) uploaded a new patch: https://review.whamcloud.com/31162
Subject: LU-10603 ptlrpc: export req_buffers_max via procfs
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 5e847b4e783ebab40b4104c21e3a5c051859e0f5

Comment by Bruno Faccini (Inactive) [ 06/Feb/18 ]

Oops, my latest/2nd patch for LU-9372 (https://review.whamcloud.com/29064) was missing to export the corresponding and necessary /proc tunable to make it usable. Sorry about this, and thanks Alex to have fixed this.

Comment by Gerrit Updater [ 22/Feb/18 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31162/
Subject: LU-10603 ptlrpc: export req_buffers_max via procfs
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 3542f9780bf413849010143a5c72701620390120

Comment by Peter Jones [ 22/Feb/18 ]

Landed for 2.11

Comment by Gerrit Updater [ 23/Feb/18 ]

Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/31396
Subject: LU-10603 ptlrpc: export req_buffers_max via procfs
Project: fs/lustre-release
Branch: b2_10
Current Patch Set: 1
Commit: afb548404eec851a9ef5c367f0dc8ed48a955c96

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