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

always trust OST last_id in normal precreate

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      In normal precreate (not the first one which will try deleting orphans) the last_id on OST is always trustable, because it's maintained in memory, and rarely OSP may try to precreate with a stale last_id (even more than OST_MAX_PRECREATE), it should be OSP that messes up the last created FID, always reply OSP with current last_id, so that OST won't become unusable.

      Attachments

        Issue Links

          Activity

            [LU-17987] always trust OST last_id in normal precreate
            pjones Peter Jones added a comment -

            Merged for 2.16

            pjones Peter Jones added a comment - Merged for 2.16

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/55574/
            Subject: LU-17987 ofd: always trust OST last_id
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 53940ff3eee8dcd48b677b17f8def55454f549e8

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/55574/ Subject: LU-17987 ofd: always trust OST last_id Project: fs/lustre-release Branch: master Current Patch Set: Commit: 53940ff3eee8dcd48b677b17f8def55454f549e8

            "Lai Siyao <lai.siyao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/55574
            Subject: LU-17987 ofd: always trust OST last_id
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: fb70f7b6a85f94479a0de3a47bc74570fc08bc44

            gerrit Gerrit Updater added a comment - "Lai Siyao <lai.siyao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/55574 Subject: LU-17987 ofd: always trust OST last_id Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: fb70f7b6a85f94479a0de3a47bc74570fc08bc44

            People

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

              Dates

                Created:
                Updated:
                Resolved: