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

mkfs -G <value> parameter is not changed actually and default value is applied

Details

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

    Description

      mkfs.lustre util checks if parametrs already contain "flex_bg"
      option (number of block groups that will be packed together
      to create a larger virtual block group) and adds this option
      if it doesn't exists. But second parameter "-G" (number of block
      groups that will be packed together to create a larger virtual
      block group) can be added twice: one passed trough mkfs options
      and another one - default value. In this case this parameter
      is not changed actually and default value is applied.
      This patch adds extra check. Default option "-G" is added
      only if no "-G" option passed through mkfs options.

      Attachments

        Issue Links

          Activity

            [LU-6442] mkfs -G <value> parameter is not changed actually and default value is applied
            pjones Peter Jones added a comment -

            Landed for 2.8

            pjones Peter Jones added a comment - Landed for 2.8

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/14400/
            Subject: LU-6442 utils: "-G <value>" can be passed through mkfs options
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 26870a369ffb4e8fde49fcf283f588f7bf3fa3b4

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/14400/ Subject: LU-6442 utils: "-G <value>" can be passed through mkfs options Project: fs/lustre-release Branch: master Current Patch Set: Commit: 26870a369ffb4e8fde49fcf283f588f7bf3fa3b4

            Artem Blagodarenko (artem_blagodarenko@xyratex.com) uploaded a new patch: http://review.whamcloud.com/14400
            Subject: LU-6442 utils: "-G <value>" can be passed trough mkfs options
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 488df412dae84dbb6281c8e4253a57b7f39796ac

            gerrit Gerrit Updater added a comment - Artem Blagodarenko (artem_blagodarenko@xyratex.com) uploaded a new patch: http://review.whamcloud.com/14400 Subject: LU-6442 utils: "-G <value>" can be passed trough mkfs options Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 488df412dae84dbb6281c8e4253a57b7f39796ac

            People

              emoly.liu Emoly Liu
              artem_blagodarenko Artem Blagodarenko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: