[LU-14587] (lproc_ptlrpc.c:606:ptlrpc_lprocfs_nrs_seq_show()) LBUG Created: 06/Apr/21  Updated: 16/Mar/22  Resolved: 03/Nov/21

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

Type: Bug Priority: Major
Reporter: Mahmoud Hanafi Assignee: Feng Lei
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

We are using tbf and hit this lbug.

[1816481.910650] LustreError: 17747:0:(lproc_ptlrpc.c:606:ptlrpc_lprocfs_nrs_seq_show()) ASSERTION( strncmp(infos[pol_idx].pi_arg, tmp.pi_arg, sizeof(tmp.pi_arg)) == 0 ) failed: 
[1816481.957475] LustreError: 17747:0:(lproc_ptlrpc.c:606:ptlrpc_lprocfs_nrs_seq_show()) LBUG


 Comments   
Comment by Peter Jones [ 07/Apr/21 ]

Li Xi

Could you please advise?

Thanks

Peter

Comment by Andreas Dilger [ 07/Apr/21 ]

It doesn't make sense to have an LASSERT() in the proc handler. At worst this should just return an error if there is a problem.

Comment by Peter Jones [ 09/Oct/21 ]

Feng Lei

Is this something that you could assist with?

Peter

Comment by Gerrit Updater [ 12/Oct/21 ]

"Feng, Lei <flei@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/45200
Subject: LU-14587 ptlrpc: remove LASSERT in nrs_polices proc handler
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: e8df09dbf1f01510032987c6337d2ca6fa44aeb2

Comment by Gerrit Updater [ 03/Nov/21 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45200/
Subject: LU-14587 ptlrpc: remove LASSERT in nrs_polices proc handler
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 9997f94d4b6ee335d2bf86f94bd43464d5b8f061

Comment by Peter Jones [ 03/Nov/21 ]

Landed for 2.15

Comment by Gerrit Updater [ 15/Nov/21 ]

"Minh Diep <mdiep@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/45568
Subject: LU-14587 ptlrpc: remove LASSERT in nrs_polices proc handler
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: 6a465c943931eff09aa9a14d42aff086827a4811

Comment by Gerrit Updater [ 17/Nov/21 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45568/
Subject: LU-14587 ptlrpc: remove LASSERT in nrs_polices proc handler
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: 434a56fc6650eb67da50aad471943d32b67c7dda

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