Details

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

    Description

      Sometimes user doesn't want the max_sectors_kb being overwritten on MDT/OST mount, we should provide a way for user to have more control over this important parameter, a environment variable MOUNT_LUSTRE_MAX_SECTORS_KB is introduced for this purpose:

      • When MOUNT_LUSTRE_MAX_SECTORS_KB isn't set, change the max_sectors_kb to max_hw_sectors_kb;
      • When MOUNT_LUSTRE_MAX_SECTORS_KB is set to 0 or a non-decimal value, leave the old max_sectors_kb setting untouched;
      • When MOUNT_LUSTRE_MAX_SECTORS_KB is set to a valid decimal value, change the max_sectors_kb to this value;

      Attachments

        Issue Links

          Activity

            [LU-9132] Tuning max_sectors_kb on mount
            pjones Peter Jones added a comment -

            Landed for 2.10

            pjones Peter Jones added a comment - Landed for 2.10

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25483/
            Subject: LU-9132 utils: tuning max_sectors_kb on mount
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 29c434b882ed11de968130492c14884d5942d9dd

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25483/ Subject: LU-9132 utils: tuning max_sectors_kb on mount Project: fs/lustre-release Branch: master Current Patch Set: Commit: 29c434b882ed11de968130492c14884d5942d9dd

            Niu Yawei (yawei.niu@intel.com) uploaded a new patch: https://review.whamcloud.com/25483
            Subject: LU-9132 utils: tuning max_sectors_kb on mount
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: c2a185e9a9d40c5b05821b384aa09fb5e71663d5

            gerrit Gerrit Updater added a comment - Niu Yawei (yawei.niu@intel.com) uploaded a new patch: https://review.whamcloud.com/25483 Subject: LU-9132 utils: tuning max_sectors_kb on mount Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: c2a185e9a9d40c5b05821b384aa09fb5e71663d5

            People

              niu Niu Yawei (Inactive)
              niu Niu Yawei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: