1. 29 9月, 2009 1 次提交
    • M
      ext4: Split uninitialized extents for direct I/O · 0031462b
      Mingming Cao 提交于
      When writing into an unitialized extent via direct I/O, and the direct
      I/O doesn't exactly cover the unitialized extent, split the extent
      into uninitialized and initialized extents before submitting the I/O.
      This avoids needing to deal with an ENOSPC error in the end_io
      callback that gets used for direct I/O.
      
      When the IO is complete, the written extent will be marked as initialized.
      
      Singed-Off-By: Mingming Cao <cmm@us.ibm.com> 
      Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
      0031462b
  2. 17 9月, 2009 5 次提交
  3. 06 9月, 2009 2 次提交
  4. 17 9月, 2009 1 次提交
  5. 11 8月, 2009 1 次提交
    • P
      ext4: fix journal ref count in move_extent_par_page · 91cc219a
      Peng Tao 提交于
      move_extent_par_page calls a_ops->write_begin() to increase journal
      handler's reference count. However, if either mext_replace_branches()
      or ext4_get_block fails, the increased reference count isn't
      decreased. This will cause a later attempt to umount of the fs to hang
      forever. The patch addresses the issue by calling ext4_journal_stop()
      if page is not NULL (which means a_ops->write_end() isn't invoked).
      Signed-off-by: NPeng Tao <bergwolf@gmail.com>
      Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
      91cc219a
  6. 18 6月, 2009 1 次提交