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

deprecate use of OST FID SEQ 0 for MDT0000

Details

    • 9223372036854775807

    Description

      Since Lustre 2.4.0 and DNE1, it has been possible to create OST objects using a different FID SEQ range for each MDT, to avoid contention during MDT object precreation.

      Objects that are created by MDT0000 are put into FID SEQ 0 (O/0/d*) on all OSTs and have a filename that is the decimal FID OID in ASCII. However, SEQ=0 objects are remapped to IDIF FID SEQ (0x100000000 | (ost_idx << 16)) so that they are unique across all OSTs.

      Objects that are created by other MDTs (or MDT0000 after 2^48 objects are created in SEQ 0) use a unique SEQ in the FID_SEQ_NORMAL range (> 0x200000400), and use a filename that is the hexadecimal FID OID in ASCII.

      For compatibility with pre-DNE MDTs and OSTs, the use of SEQ=0 by MDT0000 was kept until now, but there has not been a reason to keep this compatibility for new filesystems. It would be better to have MDT0000 assigned a "regular" FID SEQ range at startup, so that the SEQ=0 compatibility can eventually be removed. That would ensure OST objects have "proper and unique" FIDs, and avoid the complexity of mapping between the old SEQ=0 48-bit OID values and the IDIF FIDs.

      Older filesystems using SEQ=0 would eventually delete old objects in this range and/or could be forced to migrate to using new objects to clean up the remaining usage, if necessary.

      Attachments

        1. serial.txt
          778 kB
        2. stdout.txt
          484 kB

        Issue Links

          Activity

            [LU-14692] deprecate use of OST FID SEQ 0 for MDT0000
            adilger Andreas Dilger made changes -
            Labels Original: medium New: medium scalability
            adilger Andreas Dilger made changes -
            Link Original: This issue is related to LU-18311 [ LU-18311 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-18311 [ LU-18311 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is duplicated by EX-8285 [ EX-8285 ]

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50477/
            Subject: LU-14692 tests: wait for osp in conf-sanity/84
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: a9b7d73964b8b655c6c628820464342309f11356

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50477/ Subject: LU-14692 tests: wait for osp in conf-sanity/84 Project: fs/lustre-release Branch: master Current Patch Set: Commit: a9b7d73964b8b655c6c628820464342309f11356
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.15.3 [ 15998 ]

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49754/
            Subject: LU-14692 tests: allow FID_SEQ_NORMAL for MDT0000
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set:
            Commit: 1a337b4a5b138eb2846ed12b25f5e1725a647670

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49754/ Subject: LU-14692 tests: allow FID_SEQ_NORMAL for MDT0000 Project: fs/lustre-release Branch: b2_15 Current Patch Set: Commit: 1a337b4a5b138eb2846ed12b25f5e1725a647670

            I hit the same issue that bzzz in (test replay-single 70c):
            https://testing.whamcloud.com/test_sets/cbcbb9b2-656c-44bd-b324-31c9dc39539e

            I have opened a new ticket for this: LU-16692

            eaujames Etienne Aujames added a comment - I hit the same issue that bzzz in (test replay-single 70c): https://testing.whamcloud.com/test_sets/cbcbb9b2-656c-44bd-b324-31c9dc39539e I have opened a new ticket for this: LU-16692
            eaujames Etienne Aujames made changes -
            Link New: This issue is related to LU-16692 [ LU-16692 ]

            "Li Dongyang <dongyangli@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50477
            Subject: LU-14692 tests: wait for osp in conf-sanity/84
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 2816476614a92ba675418c7434001d946c8ec81e

            gerrit Gerrit Updater added a comment - "Li Dongyang <dongyangli@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50477 Subject: LU-14692 tests: wait for osp in conf-sanity/84 Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 2816476614a92ba675418c7434001d946c8ec81e

            People

              dongyang Dongyang Li
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: