1. 23 5月, 2011 3 次提交
  2. 21 5月, 2011 4 次提交
  3. 19 5月, 2011 3 次提交
  4. 16 5月, 2011 2 次提交
  5. 15 5月, 2011 1 次提交
  6. 10 5月, 2011 4 次提交
  7. 09 5月, 2011 8 次提交
  8. 04 5月, 2011 2 次提交
  9. 03 5月, 2011 4 次提交
  10. 02 5月, 2011 3 次提交
  11. 01 5月, 2011 2 次提交
    • T
      ext4: ignore errors when issuing discards · d9f34504
      Theodore Ts'o 提交于
      This is an effective revert of commit a30eec2a: "ext4: stop issuing
      discards if not supported by device".  The problem is that there are
      some devices that may return errors in response to a discard request
      some times but not others.  (One example would be a hybrid dm device
      which concatenates an SSD and an HDD device).
      
      By this logic, I also removed the error checking from ext4's FITRIM
      code; so that an error from a discard will not stop the FITRIM from
      trying to trim the rest of the file system.
      Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
      d9f34504
    • C
      ext4: don't set PageUptodate in ext4_end_bio() · 39db00f1
      Curt Wohlgemuth 提交于
      In the bio completion routine, we should not be setting
      PageUptodate at all -- it's set at sys_write() time, and is
      unaffected by success/failure of the write to disk.
      
      This can cause a page corruption bug when the file system's
      block size is less than the architecture's VM page size.
      
      if we have only written a single block -- we might end up
      setting the page's PageUptodate flag, indicating that page
      is completely read into memory, which may not be true.
      This could cause subsequent reads to get bad data.
      
      This commit also takes the opportunity to clean up error
      handling in ext4_end_bio(), and remove some extraneous code:
      
         - fixes ext4_end_bio() to set AS_EIO in the
           page->mapping->flags on error, which was left out by
           mistake.  This is needed so that fsync() will
           return an error if there was an I/O error.
         - remove the clear_buffer_dirty() call on unmapped
           buffers for each page.
         - consolidate page/buffer error handling in a single
           section.
      Signed-off-by: NCurt Wohlgemuth <curtw@google.com>
      Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
      Reported-by: NJim Meyering <jim@meyering.net>
      Reported-by: NHugh Dickins <hughd@google.com>
      Cc: Mingming Cao <cmm@us.ibm.com>
      39db00f1
  12. 19 4月, 2011 1 次提交
    • T
      ext4: check for ext[23] file system features when mounting as ext[23] · 2035e776
      Theodore Ts'o 提交于
      Provide better emulation for ext[23] mode by enforcing that the file
      system does not have any unsupported file system features as defined
      by ext[23] when emulating the ext[23] file system driver when
      CONFIG_EXT4_USE_FOR_EXT23 is defined.
      
      This causes the file system type information in /proc/mounts to be
      correct for the automatically mounted root file system.  This also
      means that "mount -t ext2 /dev/sda /mnt" will fail if /dev/sda
      contains an ext3 or ext4 file system, just as one would expect if the
      original ext2 file system driver were in use.
      Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
      2035e776
  13. 17 4月, 2011 1 次提交
  14. 12 4月, 2011 2 次提交
    • L
      Linux 2.6.39-rc3 · a6360dd3
      Linus Torvalds 提交于
      a6360dd3
    • L
      Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs · 1e05ff02
      Linus Torvalds 提交于
      * 'for-linus' of git://oss.sgi.com/xfs/xfs:
        xfs: use proper interfaces for on-stack plugging
        xfs: fix xfs_debug warnings
        xfs: fix variable set but not used warnings
        xfs: convert log tail checking to a warning
        xfs: catch bad block numbers freeing extents.
        xfs: push the AIL from memory reclaim and periodic sync
        xfs: clean up code layout in xfs_trans_ail.c
        xfs: convert the xfsaild threads to a workqueue
        xfs: introduce background inode reclaim work
        xfs: convert ENOSPC inode flushing to use new syncd workqueue
        xfs: introduce a xfssyncd workqueue
        xfs: fix extent format buffer allocation size
        xfs: fix unreferenced var error in xfs_buf.c
      
      Also, applied patch from Tony Luck that fixes ia64:
        xfs_destroy_workqueues() should not be tagged with__exit
      in the branch before merging.
      1e05ff02