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

race in ll_splice_alias() may lead to two valid dentries for the same file

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      ll_splice_alias() calls ll_find_alias() before calling d_add(), but if there are concurrent lookups, both may not find alias dentry, and add dentry, therefore there may be more than one valid dentries for the same file, which may cause deadlock in rename().

      Attachments

        Issue Links

          Activity

            [LU-16179] race in ll_splice_alias() may lead to two valid dentries for the same file
            pjones Peter Jones added a comment - Fixed already by https://review.whamcloud.com/#/c/fs/lustre-release/+/28486/

            "Lai Siyao <lai.siyao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/48624
            Subject: LU-16179 llite: race in ll_splice_alias()
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 3c02182bd0eaab291c400c66a295396943cf3c90

            gerrit Gerrit Updater added a comment - "Lai Siyao <lai.siyao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/48624 Subject: LU-16179 llite: race in ll_splice_alias() Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 3c02182bd0eaab291c400c66a295396943cf3c90

            People

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

              Dates

                Created:
                Updated:
                Resolved: