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

rename under striped directory may cause deadlock

Details

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

    Description

      In rename locking, there are two situations we need to lock target
      parent before source parent:
      1. source parent is subdir of target parent.
      2. source and target parents are both stripes of the same directory,
      and stripe index of source parent is after that of target parent.

      But the check for the second situation is missing, which may cause
      deadlock if another thread is taking stripe locks of their parent.

      Attachments

        Issue Links

          Activity

            [LU-11104] rename under striped directory may cause deadlock
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-6297 [ LU-6297 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-4911 [ LU-4911 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to DDN-804 [ DDN-804 ]
            pjones Peter Jones made changes -
            Labels Original: LTS dne2 New: dne2
            adilger Andreas Dilger made changes -
            Labels Original: DNE2 LTS New: LTS dne2
            pjones Peter Jones made changes -
            Link Original: This issue is related to JFC-26 [ JFC-26 ]
            pjones Peter Jones made changes -
            Link Original: This issue is related to JFC-19 [ JFC-19 ]
            pjones Peter Jones made changes -
            Link Original: This issue is related to JFC-10 [ JFC-10 ]
            pjones Peter Jones made changes -
            Link New: This issue is related to JFC-26 [ JFC-26 ]
            pjones Peter Jones made changes -
            Link New: This issue is related to JFC-17 [ JFC-17 ]

            People

              laisiyao Lai Siyao
              laisiyao Lai Siyao
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: