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

policy to pick a primary for mirrored write

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • Lustre 2.11.0
    • Lustre 2.11.0
    • 9223372036854775807

    Description

      For a mirrored file, when it is written at the first time, the policy to pick a replica as primary is primitive, either it just chooses the first replica or a random one. A policy function should be defined for replica choosing. At least it should avoid the replicas with unavailable OSTs.

      Attachments

        Issue Links

          Activity

            [LU-10448] policy to pick a primary for mirrored write
            mdiep Minh Diep added a comment -

            Landed for 2.11

            mdiep Minh Diep added a comment - Landed for 2.11

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30711/
            Subject: LU-10448 lod: pick primary mirror for write
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 6b373937774d0b3736d02b260be9a81c7eff5351

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30711/ Subject: LU-10448 lod: pick primary mirror for write Project: fs/lustre-release Branch: master Current Patch Set: Commit: 6b373937774d0b3736d02b260be9a81c7eff5351

            This is needed for 2.11 so that writes don't pick unavailable replicas.

            adilger Andreas Dilger added a comment - This is needed for 2.11 so that writes don't pick unavailable replicas.

            Andreas - this is about the policy for picking a replica for write. FLR is still useful for read w/o this feature.

            jay Jinshan Xiong (Inactive) added a comment - Andreas - this is about the policy for picking a replica for write. FLR is still useful for read w/o this feature.

            Bobi Jam (bobijam@hotmail.com) uploaded a new patch: https://review.whamcloud.com/30711
            Subject: LU-10448 lod: pick primary mirror for write
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: dc578c783c1aa74c2656e6cb481e3b69bb01c18a

            gerrit Gerrit Updater added a comment - Bobi Jam (bobijam@hotmail.com) uploaded a new patch: https://review.whamcloud.com/30711 Subject: LU-10448 lod: pick primary mirror for write Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: dc578c783c1aa74c2656e6cb481e3b69bb01c18a

            For 2.11 at a very minimum it should avoid selecting replicas that are not available. Otherwise FLR is mostly not useful in case of failures?

            adilger Andreas Dilger added a comment - For 2.11 at a very minimum it should avoid selecting replicas that are not available. Otherwise FLR is mostly not useful in case of failures?

            People

              bobijam Zhenyu Xu
              bobijam Zhenyu Xu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: