[LU-13595] add option to lustre_rmmod to dump debug logs Created: 22/May/20  Updated: 28/Jun/20  Resolved: 28/Jun/20

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

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: Etienne Aujames
Resolution: Fixed Votes: 0
Labels: easy

Rank (Obsolete): 9223372036854775807

 Description   

It would be convenient for lustre_rmmod to have an option like "--debug-kernel|-d" to dump the kernel debug logs before the libcfs module is unloaded. This would facilitate log collection related to memory allocation (if +malloc debugging is enabled), or subsystem cleanup.



 Comments   
Comment by Gerrit Updater [ 15/Jun/20 ]

Etienne AUJAMES (eaujames@ddn.com) uploaded a new patch: https://review.whamcloud.com/38941
Subject: LU-13595 scripts: Add a debug option to lustre_rmmod
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 6ba0da02d6efe5588a8ccfe882fd035153df6bb0

Comment by Gerrit Updater [ 28/Jun/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38941/
Subject: LU-13595 scripts: Add a debug option to lustre_rmmod
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 02e413eb55ab0c52f6ece6a33db4ac6157835eb7

Comment by Peter Jones [ 28/Jun/20 ]

Landed for 2.14

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