1. 04 1月, 2012 1 次提交
  2. 01 11月, 2011 1 次提交
  3. 21 7月, 2011 1 次提交
    • J
      fs: push i_mutex and filemap_write_and_wait down into ->fsync() handlers · 02c24a82
      Josef Bacik 提交于
      Btrfs needs to be able to control how filemap_write_and_wait_range() is called
      in fsync to make it less of a painful operation, so push down taking i_mutex and
      the calling of filemap_write_and_wait() down into the ->fsync() handlers.  Some
      file systems can drop taking the i_mutex altogether it seems, like ext3 and
      ocfs2.  For correctness sake I just pushed everything down in all cases to make
      sure that we keep the current behavior the same for everybody, and then each
      individual fs maintainer can make up their mind about what to do from there.
      Thanks,
      Acked-by: NJan Kara <jack@suse.cz>
      Signed-off-by: NJosef Bacik <josef@redhat.com>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      02c24a82
  4. 02 11月, 2010 1 次提交
  5. 29 10月, 2010 5 次提交
  6. 14 8月, 2010 1 次提交
  7. 10 8月, 2010 2 次提交
  8. 28 5月, 2010 1 次提交
  9. 10 5月, 2010 1 次提交
  10. 08 5月, 2010 1 次提交
  11. 05 5月, 2010 2 次提交
  12. 15 4月, 2010 1 次提交
  13. 13 4月, 2010 1 次提交
    • J
      [LogFS] Prevent memory corruption on large deletes · 032d8f72
      Joern Engel 提交于
      Removing sufficiently large files would create aliases for a large
      number of segments.  This in turn results in a large number of journal
      entries and an overflow of s_je_array.
      
      Cheap fix is to add a BUG_ON, turning memory corruption into something
      annoying, but less dangerous.  Real fix is to count the number of
      affected segments and prevent the problem completely.
      Signed-off-by: NJoern Engel <joern@logfs.org>
      032d8f72
  14. 31 3月, 2010 1 次提交
  15. 29 3月, 2010 1 次提交
  16. 05 3月, 2010 2 次提交
    • J
      [LogFS] Only write journal if dirty · c6d38301
      Joern Engel 提交于
      This prevents unnecessary journal writes.  More importantly it prevents
      an oops due to a journal write on failed mount.
      c6d38301
    • J
      [LogFS] Fix bdev erases · 9421502b
      Joern Engel 提交于
      Erases for block devices were always just emulated by writing 0xff.
      Some time back the write was removed and only the page cache was
      changed to 0xff.  Superficialy a good idea with two problems:
      1. Touching the page cache isn't necessary either.
      2. However, writing out 0xff _is_ necessary for the journal.  As the
         journal is scanned linearly, an old non-overwritten commit entry
         can be used on next mount and cause havoc.
      
      This should fix both aspects.
      9421502b
  17. 21 11月, 2009 1 次提交