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

    XMLWordPrintable

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: