1. 12 7月, 2008 5 次提交
  2. 30 4月, 2008 3 次提交
  3. 17 4月, 2008 2 次提交
  4. 30 4月, 2008 1 次提交
  5. 29 4月, 2008 3 次提交
  6. 17 4月, 2008 1 次提交
  7. 29 4月, 2008 1 次提交
  8. 17 4月, 2008 1 次提交
  9. 26 2月, 2008 2 次提交
  10. 16 2月, 2008 1 次提交
    • V
      ext4: modify block allocation algorithm for the last group · 74d3487f
      Valerie Clement 提交于
      When a directory inode is allocated in the last group and the last group
      contains less than s_blocks_per_group blocks, the initial block allocated
      for the directory is not always allocated in the same group as the
      directory inode, but in one of the first groups of the filesystem (group 1
      for example).
      Depending on the current process's pid, ext4_find_near() and 
      ext4_ext_find_goal() can return a block number greater than the maximum
      blocks count in the filesystem and in that case the block will be not
      allocated in the same group as the inode.
      
      The following patch fixes the problem.
      
      Should the modification also be done in ext2/3 code?
      Signed-off-by: NValerie Clement <valerie.clement@bull.net>
      Signed-off-by: NMingming Cao <cmm@us.ibm.com>
      Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
      74d3487f
  11. 22 2月, 2008 1 次提交
  12. 26 2月, 2008 1 次提交
  13. 16 2月, 2008 1 次提交
  14. 29 1月, 2008 11 次提交
  15. 18 10月, 2007 3 次提交
  16. 01 8月, 2007 1 次提交
    • M
      "ext4_ext_put_in_cache" uses __u32 to receive physical block number · dd54567a
      Mingming Cao 提交于
      Yan Zheng wrote:
      
      > I think I found a bug in ext4/extents.c, "ext4_ext_put_in_cache" uses
      > "__u32" to receive physical block number.  "ext4_ext_put_in_cache" is
      > used in "ext4_ext_get_blocks", it sets ext4 inode's extent cache
      > according most recently tree lookup (higher 16 bits of saved physical
      > block number are always zero). when serving a mapping request,
      > "ext4_ext_get_blocks" first check whether the logical block is in
      > inode's extent cache. if the logical block is in the cache and the
      > cached region isn't a gap, "ext4_ext_get_blocks" gets physical block
      > number by using cached region's physical block number and offset in
      > the cached region.  as described above, "ext4_ext_get_blocks" may
      > return wrong result when there are physical block numbers bigger than
      > 0xffffffff.
      >
      
      You are right.  Thanks for reporting this!
      Signed-off-by: NMingming Cao <cmm@us.ibm.com>
      Cc: Yan Zheng <yanzheng@21cn.com>
      Cc: <stable@kernel.org>
      Cc: <linux-ext4@vger.kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      dd54567a
  17. 18 7月, 2007 2 次提交