1. 26 Feb, 2009 1 commit
  2. 28 Feb, 2009 2 commits
    • Theodore Ts'o's avatar
      ext4: Reorder fs/Makefile so that ext2 root fs's are mounted using ext2 · d8ae4601
      Theodore Ts'o authored
      In fs/Makefile, ext3 was placed before ext2 so that a root filesystem
      that possessed a journal, it would be mounted as ext3 instead of ext2.
      This was necessary because a cleanly unmounted ext3 filesystem was
      fully backwards compatible with ext2, and could be mounted by ext2 ---
      but it was desirable that it be mounted with ext3 so that the
      journaling would be enabled.
      
      The ext4 filesystem supports new incompatible features, so there is no
      danger of an ext4 filesystem being mistaken for an ext2 filesystem.
      At that point, the relative ordering of ext4 with respect to ext2
      didn't matter until ext4 gained the ability to mount filesystems
      without a journal starting in 2.6.29-rc1.  Now that this is the case,
      given that ext4 is before ext2, it means that root filesystems that
      were using the plain-jane ext2 format are getting mounted using the
      ext4 filesystem driver, which is a change in behavior which could be
      surprising to users.
      
      It's doubtful that there are that many ext2-only root filesystem users
      that would also have ext4 compiled into the kernel, but to adhere to
      the principle of least surprise, the correct ordering in fs/Makefile
      is ext3, followed by ext2, and finally ext4.
      Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
      d8ae4601
    • Theodore Ts'o's avatar
      ext4: Remove duplicate call to ext4_commit_super() in ext4_freeze() · 8b1a8ff8
      Theodore Ts'o authored
      Commit c4be0c1d added error checking to ext4_freeze() when calling
      ext4_commit_super().  Unfortunately the patch failed to remove the
      original call to ext4_commit_super(), with the net result that when
      freezing the filesystem, the superblock gets written twice, the first
      time without error checking.
      Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
      8b1a8ff8
  3. 23 Feb, 2009 1 commit
  4. 21 Feb, 2009 1 commit
    • Theodore Ts'o's avatar
      ext4: Add fallback for find_group_flex · 05bf9e83
      Theodore Ts'o authored
      This is a workaround for find_group_flex() which badly needs to be
      replaced.  One of its problems (besides ignoring the Orlov algorithm)
      is that it is a bit hyperactive about returning failure under
      suspicious circumstances.  This can lead to spurious ENOSPC failures
      even when there are inodes still available.
      
      Work around this for now by retrying the search using
      find_group_other() if find_group_flex() returns -1.  If
      find_group_other() succeeds when find_group_flex() has failed, log a
      warning message.
      
      A better block/inode allocator that will fix this problem for real has
      been queued up for the next merge window.
      Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
      05bf9e83
  5. 23 Feb, 2009 10 commits
  6. 22 Feb, 2009 16 commits
  7. 21 Feb, 2009 9 commits