Commits on Feb 22, 2012
  1. Put the chaos version before wc's version

    Lets us be certain that version numbers are monitonically
    increasing (as rpm sees it) without using the Epoch
    field in the spec file.  The Epoch field might have caused
    issues in the future, which is why I decided to just
    reverse our version with Whamcloud's.
    morrone committed Feb 22, 2012
Commits on Jan 13, 2012
Commits on Nov 9, 2011
  1. Set chaos version number.

    morrone committed Nov 9, 2011
Commits on Jun 16, 2011
  1. LU-264 Use ext2fs_get_memalign() to align memory

    Use the ext2fs_get_memalign() function that is available in newer
    versions of e2fsprogs instead of open-coding it for the MMP block
    buffer reads that use O_DIRECT.
    Change-Id: I18702097fe2967614f9c1d2462a2436786bad70e
    Signed-off-by: Andreas Dilger <>
    Andreas Dilger committed Jun 15, 2011
Commits on Jun 14, 2011
  1. Merge "LU-367 Clean up Lustre configure option handling" into master-…

    Andreas Dilger committed with Gerrit Code Review Jun 14, 2011
Commits on Jun 9, 2011
  1. LU-264 Make tune2fs 64bits capable

    - Replace io_channel_write_blk() with io_channel_write_blk64() in
    - Add EXT2_FLAG_64BITS for tune2fs
    Signed-off-by: Niu Yawei <>
    Change-Id: Ieee62e099b44d92c3221fba964c66fa904ae5549
    Niu Yawei committed Jun 9, 2011
Commits on May 31, 2011
  1. LU-367 Clean up Lustre configure option handling

    Cleanup up the configure option handling, so that --with-lustre and
    --enable-lfsck are not explicitly stored in the instantiated configure
    and e2fsprogs.spec files after configure generates them, unless they
    were also specified on the configure command-line.
    Signed-off-by: Andreas Dilger <>
    Change-Id: I0ee2f3876db728a3fffbc59134bc42e74ce826ec
    Andreas Dilger committed May 31, 2011
  2. LU-367 Handle DB->open errors without crashing

    Remove the DB_INIT_LOCK call from the second db->open() call, since
    this caused errors on the newer db4.  We shouldn't need this anyway
    because the databases are never opened concurrently in r/w mode.
    If there is an error opening the MDSDB or OSTDB, print out a consistent
    error message.  In lfsck_run_checks() it didn't have enough function
    arguments, so when the MDSDB failed to open (e.g. due to a different
    version of db4 installed on the MDS, OSS, or client nodes) it caused
    lfsck to crash afterward.
    Signed-off-by: Andreas Dilger <>
    Change-Id: I65f9de6886c401315530d6b9e402ce8b1f84e8ce
    Andreas Dilger committed May 31, 2011
Commits on May 25, 2011
  1. LU-264 MMP update

    Integrate the MMP patch into our e2fsprogs
    Signed-off-by: Niu Yawei <>
    Change-Id: Id8330a9b72ac06427e5a89b3b94585f318306618
    Niu Yawei committed May 19, 2011
Commits on May 16, 2011
  1. LU-193 fix f_messy_inode failure due to ibadness

    The EXT4_XTIME_ANCIENT (ctime > s_mkfs_time) check was failing on i686
    due to s_mkfs_time being uninitialized on the f_messy_inode test image.
    On i686 this caused an underflow due to the 24h error margin for the
    timestamp comparison to compensate for time zone errors.
    Add -d to e2fsck runtime options for the failing f_messy_inode test
    so that it prints when the inode badness is incremented.  The debug
    test output was generated on an x86_64 system and should pass on all
    Print failed test output at the time of failure to simplify debugging
    when running in an automated test harness.
    Change-Id: I9142cfb83e53552b7ded5a4052eeccc5a7efb3d2
    Andreas Dilger committed May 11, 2011
Commits on May 9, 2011
  1. LU-XXX: fix filefrag output for 0-block files

    Based on a patch for upstream, fix the Lustre filefrag output to not
    print "1 extent" for a file that has no data blocks.  Also, do not
    print the "extent format" header if not running in verbose mode.
    Signed-off-by: Andreas Dilger <>
    Andreas Dilger committed May 9, 2011
Commits on May 5, 2011
  1. LU-254: don't mark long extent symlinks bad

    Long symlinks with the EXT4_EXTENTS_FL set should no longer be considered
    as corrupt, since these are created by default with new kernels using ext4
    as the filesystem type.  This has not impacted Lustre in the past because
    extents are only enabled on the OST, while symlinks are only created on the
    MDT where extents are never enabled.
    However, now that distros are using ext4 as the base filesystem type, if
    the lustre-patched e2fsprogs RPM is installed it will incorrectly consider
    all such long symlinks as bad and remove them.
    Signed-off-by: Andreas Dilger <>
    Andreas Dilger committed May 5, 2011
Commits on Apr 29, 2011
  1. LU-113: add .spec file for RHEL6 split packages

    Add .spec file from RHEL6 to handle multiple split RPM packages to
    avoid conflicts while installing the resulting e2fsprogs RPMs.
    Fix warnings that result from building on a RHEL6 system.
    Also resolve LU 44 build problem when --disable-lfsck is given.
    Signed-off-by: Andreas Dilger <>
    Change-Id: Ib6b7e6789aed75ab2afd12e216605552498613c7
    Andreas Dilger committed Apr 28, 2011
Commits on Mar 21, 2011
  1. LU-135 Fixes for builds against Lustre 1.8.1 to 2.x.

    This patch set is for e2fsprogs v1.41.14-161-g7d9e316
    This patch set includes changes from Andeas Dilger:
    Author: Andreas Dilger <>
    Date:   Fri Mar 11 01:54:51 2011 -0700
        LU-45 update e2fsprogs for pre-1.42 build
        This e2fsprogs release adds support for filesystems > 16TB.
        Update the lfsck code to build and run with both 1.8.x and 2.1.
        Zero large inode space when expanding inode to avoid leaving garbage.
        Validate inode creation time caused by non-zeroed large inode space.
        Change-Id: Iebac0d6147cacc386e5c1a0a44df57785ad7c8fd
        Signed-off-by: Andreas Dilger <>
    Change-Id: I243c2520a99113db31dd499d2d706ca7c6f7f41f
    Signed-off-by: B.Cassidy <>
    bruce committed Mar 18, 2011
Commits on Feb 21, 2011
  1. mke2fs: Display progress report during the device discard

    For some time now we are doing initial discard of the device prior to
    filesystem creation. However, there is no feedback for the user and
    hence on some devices with slow TRIM implementation it may appear that
    mke2fs is stuck.
    This commit introduce new function mke2fs_discard_device(), which is a
    wrapper for io_channel_discard(). The discard is done in chunks of
    2GB, which seems reasonably well for both slow and fast devices, and
    discard progress is reported back to the user.
    I gave up on doing fancy things like align discard according to
    discard_alignment, checking for discard granularity and computing
    estimate time. First of all, because it would require either new ioctl
    to retrieve those information or use of libudev library, none of it
    seems to be worth it. Regarding discard_granularity, I doubt there is
    any sane device with discard granularity that big it would affect this.
    Signed-off-by: Lukas Czerner <>
    Signed-off-by: Theodore Ts'o <>
    Lukas Czerner committed with tytso Jan 24, 2011
  2. Merge branch 'maint' into next

    tytso committed Feb 21, 2011
  3. mke2fs: Simple man page nodiscard option correction

    It is not true that 'nodiscard' is set as default, so remove this
    sentence. The default is 'discard' and it is properly documented in man
    Signed-off-by: Lukas Czerner <>
    Signed-off-by: Theodore Ts'o <>
    Lukas Czerner committed with tytso Feb 1, 2011
  4. e2fsprogs: enable user namespace xattrs by default

    User namespace xattrs are generally useful, and I think extN
    is the only filesystem requiring a special mount option to
    enable them, when xattrs are otherwise available.  So this
    change sets that mount option into the defaults, via a
    mke2fs.conf option.
    Note that if xattrs are config'd off, this will lead to a
       EXT4-fs (sdc1): (no)user_xattr options not supported
    message at mount time...
    Signed-off-by: Eric Sandeen <>
    Signed-off-by: Theodore Ts'o <>
    Eric Sandeen committed with tytso Feb 17, 2011
  5. e2fsprogs: turn off enforced fsck intervals by default

    The forced fsck often comes at unexpected and inopportune moments,
    and even enterprise customers are often caught by surprise when
    this happens.  Because a filesystem with an error condition will
    be marked as requiring fsck anyway, I submit that the time-based
    and mount-based checks are not particularly useful, and that
    administrators can schedule fscks on their own time, or tune2fs
    the enforced intervals if they so choose.  This patch disables the
    intervals by default, and I've added a new mkfs.conf option to
    turn on the old behavior of random, unexpected, time-consuming
    fscks at boot time.  ;)
    Signed-off-by: Eric Sandeen <>
    Signed-off-by: Theodore Ts'o <>
    Eric Sandeen committed with tytso Feb 17, 2011
Commits on Feb 20, 2011
  1. e2fsprogs: create com_err.h link in includedir

    After debian bug #192277, debian/rules started making a symlink
    to com_err.h in /usr/include.  Now I have Fedora bug #550889
    for the same issue, and perhaps it's time to make this link
    by default, rather than fixing it up in packaging steps?
    [ Changed by tytso to remove the explicit -s option; this will default
      to creating a hard link by default, which slightly faster.  If
      people want to use symlinks for all links during the install
      process, they can use configure option --enable-symlink-install.
      The reason for this change is that some file systems, like AFS,
      don't support symlinks, and AFS users complain when they can't build
      or install into AFS.  So I don't want to use symlinks
      unconditionally without a way of switching things back and forth,
      and it's easier if we just make all links made during the install
      process to be hard links or sym links. ]
    Signed-off-by: Eric Sandeen <>
    Signed-off-by: Theodore Ts'o <>
    Eric Sandeen committed with tytso Feb 16, 2011
  2. badblocks: Add accounting for different types of errors

    When using the -v option, report a breakdown of the number of read,
    write, and comparison errors that were found by badblocks.
    Thanks to Ragnar Kjørstad for providing this patch.
    Signed-off-by: "Theodore Ts'o" <>
    tytso committed Feb 20, 2011
  3. badblocks: Fix up recover_block handling in badblocks

    If there was a bad block for block #0, badblocks would never switch
    back testing blocks more efficiently.  In addition, we were
    double-incrementing the blocks to be tested in the read/write test due
    to failure to remove code.
    Thanks to Ragnar Kjørstad for pointing these problems out.
    Signed-off-by: "Theodore Ts'o" <>
    tytso committed Feb 20, 2011
Commits on Feb 18, 2011
  1. Merge branch 'maint' into next

    tytso committed Feb 18, 2011
  2. badblocks: Only report errors when reading/writing one block at a time

    With Direct I/O, the kernel can report 0 bytes read even though the
    first block has no errors.  So there are any errors, we need try to
    read/write blocks one at a time and to get an accurate report.
    Signed-off-by: "Theodore Ts'o" <>
    tytso committed Feb 18, 2011
  3. badblocks: Add the -B option which forces the use of buffered I/O

    If for some reason direct I/O does not work correctly, force the use
    of buffered I/O.
    Signed-off-by: "Theodore Ts'o" <>
    tytso committed Feb 17, 2011
  4. badblocks: Fix bug so that O_DIRECT mode is correctly entered

    The check to see if the block number is properly aligned was not done
    correctly.  Fix this.
    Signed-off-by: "Theodore Ts'o" <>
    tytso committed Feb 17, 2011
Commits on Feb 11, 2011
  1. Merge branch 'maint' into next

    tytso committed Feb 11, 2011
  2. po: update fr.po (from

    Signed-off-by: Theodore Ts'o <>
    sthibaul committed with tytso Feb 11, 2011
Commits on Feb 7, 2011
  1. filefrag: remove useless assignment

    The very next one memset's all bytes of fiemap to 0.
    Signed-off-by: Jim Meyering <>
    Signed-off-by: Theodore Ts'o <>
    Jim Meyering committed with tytso Feb 1, 2011
Commits on Jan 26, 2011
  1. po: update zh_CN.po (from

    Signed-off-by: Theodore Ts'o <>
    nialv7 committed with tytso Jan 26, 2011
  2. po: update de.po (from

    Signed-off-by: Theodore Ts'o <>
    phisama committed with tytso Jan 26, 2011
Commits on Jan 24, 2011
  1. po: update id.po (from

    Signed-off-by: Theodore Ts'o <>
    tytso committed Jan 24, 2011
  2. po: update vi.po (from

    Signed-off-by: Theodore Ts'o <>
    Clytie committed with tytso Jan 24, 2011
  3. po: update sv.po (from

    Signed-off-by: Theodore Ts'o <>
    goeranu committed with tytso Jan 24, 2011