An error occurred fetching the project authors.
  1. 04 Mar, 2010 8 commits
  2. 23 Dec, 2009 4 commits
  3. 10 Dec, 2009 4 commits
    • Jan Kara's avatar
      ext3: Support for vfsv1 quota format · 1aeec434
      Jan Kara authored
      We just have to add proper mount options handling. The rest is handled by
      the generic quota code.
      
      CC: linux-ext4@vger.kernel.org
      Signed-off-by: default avatarJan Kara <jack@suse.cz>
      1aeec434
    • Alexey Fisher's avatar
      ext3: Unify log messages in ext3 · 4cf46b67
      Alexey Fisher authored
      Make messages produced by ext3 more unified. It should be
      easy to parse.
      
      dmesg before patch:
      [ 4893.684892] reservations ON
      [ 4893.684896] xip option not supported
      [ 4893.684964] EXT3-fs warning: maximal mount count reached, running
      e2fsck is recommended
      
      dmesg after patch:
      [  873.300792] EXT3-fs (loop0): using internal journaln
      [  873.300796] EXT3-fs (loop0): mounted filesystem with writeback data mode
      [  924.163657] EXT3-fs (loop0): error: can't find ext3 filesystem on dev loop0.
      [  723.755642] EXT3-fs (loop0): error: bad blocksize 8192
      [  357.874687] EXT3-fs (loop0): error: no journal found. mounting ext3 over ext2?
      [  873.300764] EXT3-fs (loop0): warning: maximal mount count reached, running e2fsck is recommended
      [  924.163657] EXT3-fs (loop0): error: can't find ext3 filesystem on dev loop0.
      Signed-off-by: default avatarAlexey Fisher <bug-track@fisher-privat.net>
      Signed-off-by: default avatarJan Kara <jack@suse.cz>
      4cf46b67
    • Eric Sandeen's avatar
      ext3: make "norecovery" an alias for "noload" · dee1d3b6
      Eric Sandeen authored
      Users on the list recently complained about differences across
      filesystems w.r.t. how to mount without a journal replay.
      
      In the discussion it was noted that xfs's "norecovery" option is
      perhaps more descriptively accurate than "noload," so let's make
      that an alias for ext3.
      
      Also show this status in /proc/mounts
      Signed-off-by: default avatarEric Sandeen <sandeen@redhat.com>
      Signed-off-by: default avatarJan Kara <jack@suse.cz>
      dee1d3b6
    • Eric Sandeen's avatar
      ext3: Don't update the superblock in ext3_statfs() · b9183975
      Eric Sandeen authored
      commit a71ce8c6 updated ext3_statfs()
      to update the on-disk superblock counters, but modified this buffer
      directly without any journaling of the change.  This is one of the
      accesses that was causing the crc errors in journal replay as seen in
      kernel.org bugzilla #14354.
      
      The modifications were originally to keep the sb "more" in sync,
      so that a readonly fsck of the device didn't flag this as an
      error (as often), but apparently e2fsprogs deals with this differently
      now, anyway.
      
      Based on Ted's patch for ext4, which was in turn based on my
      work on that bug and another preliminary patch...
      Signed-off-by: default avatarEric Sandeen <sandeen@redhat.com>
      Signed-off-by: default avatarJan Kara <jack@suse.cz>
      b9183975
  4. 11 Nov, 2009 1 commit
  5. 12 Oct, 2009 1 commit
  6. 22 Sep, 2009 2 commits
  7. 24 Aug, 2009 1 commit
    • Jan Kara's avatar
      ext3: Improve error message that changing journaling mode on remount is not possible · 3c4cec65
      Jan Kara authored
      This patch makes the error message about changing journaling mode on remount
      more descriptive. Some people are going to hit this error now due to commit
      bbae8bcc if they configure a kernel to default
      to data=writeback mode. The problem happens if they have data=ordered set for
      the root filesystem in /etc/fstab but not in the kernel command line (and they
      don't use initrd). Their filesystem then gets mounted as data=writeback by
      kernel but then their boot fails because init scripts won't be able to remount
      the filesystem rw. Better error message will hopefully make it easier for them
      to find the error in their setup and bother us less with error reports :).
      Signed-off-by: default avatarJan Kara <jack@suse.cz>
      3c4cec65
  8. 24 Jun, 2009 1 commit
  9. 19 Jun, 2009 1 commit
  10. 12 Jun, 2009 4 commits
  11. 22 May, 2009 1 commit
  12. 18 May, 2009 1 commit
  13. 07 Apr, 2009 1 commit
  14. 26 Mar, 2009 2 commits
  15. 11 Feb, 2009 1 commit
  16. 10 Jan, 2009 1 commit
    • Takashi Sato's avatar
      filesystem freeze: add error handling of write_super_lockfs/unlockfs · c4be0c1d
      Takashi Sato authored
      Currently, ext3 in mainline Linux doesn't have the freeze feature which
      suspends write requests.  So, we cannot take a backup which keeps the
      filesystem's consistency with the storage device's features (snapshot and
      replication) while it is mounted.
      
      In many case, a commercial filesystem (e.g.  VxFS) has the freeze feature
      and it would be used to get the consistent backup.
      
      If Linux's standard filesystem ext3 has the freeze feature, we can do it
      without a commercial filesystem.
      
      So I have implemented the ioctls of the freeze feature.
      I think we can take the consistent backup with the following steps.
      1. Freeze the filesystem with the freeze ioctl.
      2. Separate the replication volume or create the snapshot
         with the storage device's feature.
      3. Unfreeze the filesystem with the unfreeze ioctl.
      4. Take the backup from the separated replication volume
         or the snapshot.
      
      This patch:
      
      VFS:
      Changed the type of write_super_lockfs and unlockfs from "void"
      to "int" so that they can return an error.
      Rename write_super_lockfs and unlockfs of the super block operation
      freeze_fs and unfreeze_fs to avoid a confusion.
      
      ext3, ext4, xfs, gfs2, jfs:
      Changed the type of write_super_lockfs and unlockfs from "void"
      to "int" so that write_super_lockfs returns an error if needed,
      and unlockfs always returns 0.
      
      reiserfs:
      Changed the type of write_super_lockfs and unlockfs from "void"
      to "int" so that they always return 0 (success) to keep a current behavior.
      Signed-off-by: default avatarTakashi Sato <t-sato@yk.jp.nec.com>
      Signed-off-by: default avatarMasayuki Hamaguchi <m-hamaguchi@ys.jp.nec.com>
      Cc: <xfs-masters@oss.sgi.com>
      Cc: <linux-ext4@vger.kernel.org>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Dave Kleikamp <shaggy@austin.ibm.com>
      Cc: Dave Chinner <david@fromorbit.com>
      Cc: Alasdair G Kergon <agk@redhat.com>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      c4be0c1d
  17. 08 Jan, 2009 1 commit
  18. 05 Jan, 2009 2 commits
  19. 06 Jan, 2009 1 commit
    • Toshiyuki Okajima's avatar
      ext3: provide function to release metadata pages under memory pressure · 6b082b53
      Toshiyuki Okajima authored
      Pages in the page cache belonging to ext3 data files are released via
      the ext3_releasepage() function specified in the ext3 inode's
      address_space_ops.  However, metadata blocks (such as indirect blocks,
      directory blocks, etc) are managed via the block device
      address_space_ops, and they can not be released by
      try_to_free_buffers() if they have a journal head attached to them.
      
      To address this, we supply a try_to_free_pages() function which calls
      journal_try_to_free_buffers() function to free the metadata, and which
      is called by the block device's blkdev_releasepage() function.
      Signed-off-by: default avatarToshiyuki Okajima <toshi.okajima@jp.fujitsu.com>
      Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
      Cc: linux-fsdevel@vger.kernel.org
      6b082b53
  20. 13 Nov, 2008 1 commit
  21. 06 Nov, 2008 1 commit
    • Arthur Jones's avatar
      ext3: wait on all pending commits in ext3_sync_fs · c87591b7
      Arthur Jones authored
      In ext3_sync_fs, we only wait for a commit to finish if we started it, but
      there may be one already in progress which will not be synced.
      
      In the case of a data=ordered umount with pending long symlinks which are
      delayed due to a long list of other I/O on the backing block device, this
      causes the buffer associated with the long symlinks to not be moved to the
      inode dirty list in the second phase of fsync_super.  Then, before they
      can be dirtied again, kjournald exits, seeing the UMOUNT flag and the
      dirty pages are never written to the backing block device, causing long
      symlink corruption and exposing new or previously freed block data to
      userspace.
      
      This can be reproduced with a script created
      by Eric Sandeen <sandeen@redhat.com>:
      
      	#!/bin/bash
      
      	umount /mnt/test2
      	mount /dev/sdb4 /mnt/test2
      	rm -f /mnt/test2/*
      	dd if=/dev/zero of=/mnt/test2/bigfile bs=1M count=512
      	touch
      	/mnt/test2/thisisveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryverylongfilename
      	ln -s
      	/mnt/test2/thisisveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryverylongfilename
      	/mnt/test2/link
      	umount /mnt/test2
      	mount /dev/sdb4 /mnt/test2
      	ls /mnt/test2/
      	umount /mnt/test2
      
      To ensure all commits are synced, we flush all journal commits now when
      sync_fs'ing ext3.
      Signed-off-by: default avatarArthur Jones <ajones@riverbed.com>
      Cc: Eric Sandeen <sandeen@redhat.com>
      Cc: Theodore Ts'o <tytso@mit.edu>
      Cc: <linux-ext4@vger.kernel.org>
      Cc: <stable@kernel.org>		[2.6.everything]
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      c87591b7