1. 01 Aug, 2010 1 commit
    • Eric Sandeen's avatar
      ext4: fix freeze deadlock under IO · 437f88cc
      Eric Sandeen authored
      Commit 6b0310fb caused a regression resulting in deadlocks
      when freezing a filesystem which had active IO; the vfs_check_frozen
      level (SB_FREEZE_WRITE) did not let the freeze-related IO syncing
      through.  Duh.
      
      Changing the test to FREEZE_TRANS should let the normal freeze
      syncing get through the fs, but still block any transactions from
      starting once the fs is completely frozen.
      
      I tested this by running fsstress in the background while periodically
      snapshotting the fs and running fsck on the result.  I ran into
      occasional deadlocks, but different ones.  I think this is a
      fine fix for the problem at hand, and the other deadlocky things
      will need more investigation.
      Reported-by: default avatarPhillip Susi <psusi@cfl.rr.com>
      Signed-off-by: default avatarEric Sandeen <sandeen@redhat.com>
      Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
      437f88cc
  2. 29 Jul, 2010 1 commit
  3. 27 Jul, 2010 21 commits
  4. 29 Jun, 2010 4 commits
  5. 15 Jun, 2010 1 commit
  6. 14 Jun, 2010 3 commits
  7. 12 Jun, 2010 2 commits
    • Theodore Ts'o's avatar
      ext4: Clean up s_dirt handling · a0375156
      Theodore Ts'o authored
      We don't need to set s_dirt in most of the ext4 code when journaling
      is enabled.  In ext3/4 some of the summary statistics for # of free
      inodes, blocks, and directories are calculated from the per-block
      group statistics when the file system is mounted or unmounted.  As a
      result the superblock doesn't have to be updated, either via the
      journal or by setting s_dirt.  There are a few exceptions, most
      notably when resizing the file system, where the superblock needs to
      be modified --- and in that case it should be done as a journalled
      operation if possible, and s_dirt set only in no-journal mode.
      
      This patch will optimize out some unneeded disk writes when using ext4
      with a journal.
      Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
      a0375156
    • Linus Torvalds's avatar
      Linux 2.6.35-rc3 · 7e27d6e7
      Linus Torvalds authored
      7e27d6e7
  8. 11 Jun, 2010 7 commits