Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-5149

Create debug_upcall script which dumps ldlm namespaces to log file

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Minor
    • Lustre 2.8.0
    • 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.

      Attachments

        Activity

          People

            bogl Bob Glossman (Inactive)
            haasken Ryan Haasken
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: