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

Adding test for race between start of target and MGC thread to reenqueue lock

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Lustre 2.7.0
    • Fix Version/s: None
    • Labels:
    • Severity:
      3
    • Rank (Obsolete):
      15890

      Description

      There is race between between starting an target (MDT, OST .. both may have it bug) and MGC thread to reenqueue lock.

      Target called MGC to connect to MGS to take an config but due to network issue/s config request fails. Because of this target have rollback to the reading config from disk and start re-enqueue thread to take config from network. Target finished read config from a disk and disconnected disk from MGC. But re-euqueue thread still using it. This resulted in a case where thread have an access to the freed structure and panic.

      This issue is not present in master code. But test which can created this problem is missing. So adding the test.

        Attachments

          Activity

            People

            • Assignee:
              bogl Bob Glossman (Inactive)
              Reporter:
              rdeshmukh_xyratex Rahul Deshmukh (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: