[LU-8976] Apply patch "libext2fs: fix maximum bg overhead calculation with meta_bg enabled" Created: 26/Dec/16  Updated: 06/Jul/21  Resolved: 06/Jul/21

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

Type: Improvement Priority: Minor
Reporter: Artem Blagodarenko (Inactive) Assignee: WC Triage
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-9024 conf-sanity test_63: FAIL: ldisk inod... Resolved
is related to LU-8974 Сhange force_over_256tb lustre mount ... Resolved
Rank (Obsolete): 9223372036854775807

 Description   

During testing with 318399.9 GB target error happened

Cannot create filesystem with requested number of inodes while setting up superblock

To fix this issue the patch must be cherrypicked:

commit 1abdd04eb1d19488493022f81c03f5b80aa7fcc7
Author: Darrick J. Wong <darrick.wong@oracle.com>
Date: Sat Oct 24 00:24:57 2015 -0400
libext2fs: fix maximum bg overhead calculation with meta_bg enabled
When meta_bg is enabled at mkfs time, we put at most one group
descriptor block in each blockgroup. Unfortunately, the calculation
of max overhead per bg doesn't know this, so mkfs fails when it isn't
strictly necessary. Fix it, since Dave reported that he couldn't
create a 500TB ext4 filesystem.
Reported-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>


 Comments   
Comment by Gerrit Updater [ 05/Feb/17 ]

Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/25263
Subject: LU-8976 libext2fs: fix maximum bg overhead calculation with meta_bg enabled
Project: tools/e2fsprogs
Branch: master-lustre
Current Patch Set: 1
Commit: 8be197d92a866b7a45f28e5495703d63a2f320e3

Comment by Gerrit Updater [ 24/Apr/17 ]

Andreas Dilger (andreas.dilger@intel.com) merged in patch https://review.whamcloud.com/25263/
Subject: LU-8976 libext2fs: fix maximum bg overhead calculation with meta_bg enabled
Project: tools/e2fsprogs
Branch: master-lustre
Current Patch Set:
Commit: 5730e722ef557ce0e83128cba349317f67e8260d

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