Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
3
-
9223372036854775807
Description
It looks like struct stacktrace_ops is no longer there in rhel7.5 so our detection of if dump_stack would work is no longer working.
We get this now:
[29185.979935] LNet: Service thread pid 9373 was inactive for 40.04s. The thread might be hung, or it might only be slow and will resume later. Dumping the stack trace for debugging purposes: [29185.981691] LNet: 31237:0:(linux-debug.c:185:libcfs_call_trace()) can't show stack: kernel doesn't export show_task [29185.982826] LustreError: dumping log to /tmp/lustre-log.1527605717.9373
Given that struct stacktrace_ops are still there in mainline kernels, this seems something specific to rhel7.5 and we need to find another way of detecting this I guess.
John L. Hammond (jhammond@whamcloud.com) merged in patch https://review.whamcloud.com/32972/
Subject:
LU-11062libcfs: use save_stack_trace for stack dumpProject: fs/lustre-release
Branch: b2_10
Current Patch Set:
Commit: a2af371bd8a79e293a9ba95b8016de92040101a6