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

sanity/177 leaves threads blocked in libcfs_debug_dumplog()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.14.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      the problem was introduced by:

      acb6ee1f1f 2020-02-01 | LU-8304 libcfs: convert debug_ctlwq to a completion

      the root cause is that libcfs_debug_dumplog() can be called by few threads simultaneously and each thread re-initialize the global state debug_complete unconditionally.
      I reverted the patch locally to pass sanity.sh, but I guess we can wrap libcfs_debug_dumplog() with a mutex to serialize calls.

      Attachments

        Issue Links

          Activity

            People

              bzzz Alex Zhuravlev
              bzzz Alex Zhuravlev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: