[LU-15923] ll_dir_ioctl():function puts 1128 bytes on stack Created: 08/Jun/22  Updated: 08/Jun/22

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

Type: Bug Priority: Minor
Reporter: Andreas Dilger Assignee: Oleg Drokin
Resolution: Unresolved Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Oleg, it looks like the Misc Code Checks Robot is reporting an error in the commit messsage of every patch:

Misc Code Checks Robot (Gatekeeper helper)
If you believe the warnings are incorrect, please leave a comment with your explanations as a reply to the warning.

Line 1:  lustre/llite/dir.c:
 warn: ll_dir_ioctl():function puts 1128 bytes on stack

I ran "make checkstack" on el7.9 and el8.5 and it didn't show this much stack usage, only about 512 bytes, and I didn't see any large structures being declared. Could this be caused by aggressive inline of functions being called? Outside of krb5 functions, the major users are:

544 lustre:ll_lookup_it
528 ptlrpc_gss:rsc_parse
512 lustre:ll_dir_ioctl
352 osc:osc_page_print
336 mgc:mgc_apply_recover_logs
312 ptlrpc:_debug_req

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