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

MDT unmount can stuck on waiting for pending OSP locks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.16.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      The LU-17809 moved ptlrpc_invalidate_import() from pre-cleanup phase before obd_export_barrier() to final cleanup phase after the one.  That causes ldlm_namespace_cleanup() to be skipped now in pre-cleanup and that leaves OSP locks issued to another MDTs  alive pinning MDT original thread. As result obd_export_barrier() will stuck waiting until these lock either finished or cancelled. In our scenarios all MDTs are being umounted so locks remains not answered and unmount is stuck.

      Proposed solution is to return at least ldlm_namespace_cancel() in pre-cleanup phase.

      Attachments

        Issue Links

          Activity

            People

              tappro Mikhail Pershin
              tappro Mikhail Pershin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: