[LU-6442] mkfs -G <value> parameter is not changed actually and default value is applied Created: 08/Apr/15  Updated: 17/Sep/16  Resolved: 21/Jul/15

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.8.0

Type: Bug Priority: Minor
Reporter: Artem Blagodarenko (Inactive) Assignee: Emoly Liu
Resolution: Fixed Votes: 0
Labels: patch

Issue Links:
Related
is related to LU-6662 mkfs should allow use of errors=panic Resolved
Severity: 3
Rank (Obsolete): 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.



 Comments   
Comment by Gerrit Updater [ 08/Apr/15 ]

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

Comment by Gerrit Updater [ 21/Jul/15 ]

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

Comment by Peter Jones [ 21/Jul/15 ]

Landed for 2.8

Generated at Sat Feb 10 02:00:16 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.