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

Do not do subdir check if source and target are in the same directory

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • Lustre 2.8.0
    • Lustre 2.8.0
    • None
    • 3
    • 9223372036854775807

    Description

      In mdt_reint_rename_internal(), we do not need do is_subdir check if source and target are in the same directory.

           
             /* Check if @mtgtdir is subdir of @mold, before locking child
               * to avoid reverse locking. */
              rc = mdt_is_subdir(info, mtgtdir, old_fid);  <--- no need check if mtgtdir == msrcdir
              if (rc)
                      GOTO(out_put_old, rc);
      

      Attachments

        Issue Links

          Activity

            [LU-7716] Do not do subdir check if source and target are in the same directory
            jgmitter Joseph Gmitter (Inactive) made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            jay Jinshan Xiong (Inactive) made changes -
            Link New: This issue is related to LU-7725 [ LU-7725 ]
            pjones Peter Jones made changes -
            Priority Original: Major [ 3 ] New: Blocker [ 1 ]
            di.wang Di Wang (Inactive) made changes -
            Link New: This issue is related to LU-7372 [ LU-7372 ]
            di.wang Di Wang (Inactive) created issue -

            People

              di.wang Di Wang (Inactive)
              di.wang Di Wang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: