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

Apply patch "libext2fs: fix maximum bg overhead calculation with meta_bg enabled"

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • None
    • 9223372036854775807

      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>
      

            wc-triage WC Triage
            artem_blagodarenko Artem Blagodarenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: