[LU-5149] Create debug_upcall script which dumps ldlm namespaces to log file Created: 05/Jun/14 Updated: 26/Aug/15 Resolved: 26/Aug/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.8.0 |
| Type: | New Feature | Priority: | Minor |
| Reporter: | Ryan Haasken | Assignee: | Bob Glossman (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Rank (Obsolete): | 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. |
| Comments |
| Comment by Peter Jones [ 06/Jun/14 ] |
| Comment by Gerrit Updater [ 26/Aug/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/10617/ |
| Comment by Joseph Gmitter (Inactive) [ 26/Aug/15 ] |
|
Landed for 2.8. |