Details
-
New Feature
-
Resolution: Fixed
-
Minor
-
None
-
14211
Description
When Lustre dumps logs (e.g., upon eviction when dump_on_eviction is set), it would also be useful to get a dump of the ldlm namespaces to see which locks are held at the time the dump occurred.
The easiest and least intrusive way to do this would be by providing a script that dumps the ldlm namespaces and appends that dumped information to the log dump file. Then we can use "lctl set_param debug_log_upcall=/path/to/script" to set the debug upcall to call this script whenever libcfs_debug_dumplog is called. Such a script should be provided and packaged with Lustre.