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

rename under striped directory may cause deadlock

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: