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

extra getattr RPC if striped directory as subdirectory mount

Details

    • 3
    • 9223372036854775807

    Description

      Striped directory as subdirectory mount may not be able to cache LOOKUP lock for ROOT, and will cause extra getattr RPC for each file access. This is a bug in lmv_intent_lookup(), which replaces fid1 with stripe FID which "/" is mapped to by hash, while for striped directory, fid2 is master object FID, if they are not located on the same MDT, server will treat it as remote object, and won't reply LOOKUP lock back.

      Note, even if this is fixed, user should avoid use remote directory (either plain or striped directory) as subdirectory mount, because remote object can't fetch LOOKUP lock.

      Attachments

        Issue Links

          Activity

            [LU-14490] extra getattr RPC if striped directory as subdirectory mount
            pjones Peter Jones added a comment -

            Landed for 2.15 and 2.12.7

            pjones Peter Jones added a comment - Landed for 2.15 and 2.12.7

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/42046/
            Subject: LU-14490 lmv: striped directory as subdirectory mount
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set:
            Commit: 1d3941011bb8a7436f724bc83cf33e6a45eff15e

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/42046/ Subject: LU-14490 lmv: striped directory as subdirectory mount Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: 1d3941011bb8a7436f724bc83cf33e6a45eff15e

            Lai Siyao (lai.siyao@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/42046
            Subject: LU-14490 lmv: striped directory as subdirectory mount
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: 60d48d4d9458d3341ee456e81e8be2fe76f1b24a

            gerrit Gerrit Updater added a comment - Lai Siyao (lai.siyao@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/42046 Subject: LU-14490 lmv: striped directory as subdirectory mount Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: 60d48d4d9458d3341ee456e81e8be2fe76f1b24a

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41893/
            Subject: LU-14490 lmv: striped directory as subdirectory mount
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 775f88ed6c8b6235031268e258e15da405a5b955

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41893/ Subject: LU-14490 lmv: striped directory as subdirectory mount Project: fs/lustre-release Branch: master Current Patch Set: Commit: 775f88ed6c8b6235031268e258e15da405a5b955

            Lai Siyao (lai.siyao@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/41893
            Subject: LU-14490 lmv: striped directory as subdirectory mount
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 102267b08a90faabc43ed97b9e6c89b2d60272ac

            gerrit Gerrit Updater added a comment - Lai Siyao (lai.siyao@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/41893 Subject: LU-14490 lmv: striped directory as subdirectory mount Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 102267b08a90faabc43ed97b9e6c89b2d60272ac

            People

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

              Dates

                Created:
                Updated:
                Resolved: