1. 12 10月, 2006 1 次提交
  2. 27 9月, 2006 3 次提交
  3. 01 7月, 2006 1 次提交
  4. 26 6月, 2006 3 次提交
    • M
      [PATCH] ext3_fsblk_t: the rest of in-kernel filesystem blocks conversion · 43d23f90
      Mingming Cao 提交于
      Convert the ext3 in-kernel filesystem blocks to ext3_fsblk_t.  Convert the
      rest of all unsigned long type in-kernel filesystem blocks to ext3_fsblk_t,
      and replace the printk format string respondingly.
      Signed-off-by: NMingming Cao <cmm@us.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      43d23f90
    • M
      [PATCH] ext3_fsblk_t: filesystem, group blocks and bug fixes · 1c2bf374
      Mingming Cao 提交于
      Some of the in-kernel ext3 block variable type are treated as signed 4 bytes
      int type, thus limited ext3 filesystem to 8TB (4kblock size based).  While
      trying to fix them, it seems quite confusing in the ext3 code where some
      blocks are filesystem-wide blocks, some are group relative offsets that need
      to be signed value (as -1 has special meaning).  So it seem saner to define
      two types of physical blocks: one is filesystem wide blocks, another is
      group-relative blocks.  The following patches clarify these two types of
      blocks in the ext3 code, and fix the type bugs which limit current 32 bit ext3
      filesystem limit to 8TB.
      
      With this series of patches and the percpu counter data type changes in the mm
      tree, we are able to extend exts filesystem limit to 16TB.
      
      This work is also a pre-request for the recent >32 bit ext3 work, and makes
      the kernel to able to address 48 bit ext3 block a lot easier: Simply redefine
      ext3_fsblk_t from unsigned long to sector_t and redefine the format string for
      ext3 filesystem block corresponding.
      
      Two RFC with a series patches have been posted to ext2-devel list and have
      been reviewed and discussed:
      http://marc.theaimsgroup.com/?l=ext2-devel&m=114722190816690&w=2
      
      http://marc.theaimsgroup.com/?l=ext2-devel&m=114784919525942&w=2
      
      Patches are tested on both 32 bit machine and 64 bit machine, <8TB ext3 and
      >8TB ext3 filesystem(with the latest to be released e2fsprogs-1.39).  Tests
      includes overnight fsx, tiobench, dbench and fsstress.
      
      This patch:
      
      Defines ext3_fsblk_t and ext3_grpblk_t, and the printk format string for
      filesystem wide blocks.
      
      This patch classifies all block group relative blocks, and ext3_fsblk_t blocks
      occurs in the same function where used to be confusing before.  Also include
      kernel bug fixes for filesystem wide in-kernel block variables.  There are
      some fileystem wide blocks are treated as int/unsigned int type in the kernel
      currently, especially in ext3 block allocation and reservation code.  This
      patch fixed those bugs by converting those variables to ext3_fsblk_t(unsigned
      long) type.
      Signed-off-by: NMingming Cao <cmm@us.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      1c2bf374
    • M
      [PATCH] Avoid disk sector_t overflow for >2TB ext3 filesystem · fcd5df35
      Mingming Cao 提交于
      If ext3 filesystem is larger than 2TB, and sector_t is a u32 (i.e.
      CONFIG_LBD not defined in the kernel), the calculation of the disk sector
      will overflow.  Add check at ext3_fill_super() and ext3_group_extend() to
      prevent mount/remount/resize >2TB ext3 filesystem if sector_t size is 4
      bytes.
      
      Verified this patch on a 32 bit platform without CONFIG_LBD defined
      (sector_t is 32 bits long), mount refuse to mount a 10TB ext3.
      
      Signed-off-by: Mingming Cao<cmm@us.ibm.com>
      Acked-by: NAndreas Dilger <adilger@clusterfs.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      fcd5df35
  5. 01 6月, 2006 1 次提交
  6. 26 4月, 2006 1 次提交
    • A
      [PATCH] forgotten ->b_data in memcpy() call in ext3/resize.c (oopsable) · de0bb97a
      Al Viro 提交于
      sbi->s_group_desc is an array of pointers to buffer_head.  memcpy() of
      buffer size from address of buffer_head is a bad idea - it will generate
      junk in any case, may oops if buffer_head is close to the end of slab
      page and next page is not mapped and isn't what was intended there.
      IOW, ->b_data is missing in that call.  Fortunately, result doesn't go
      into the primary on-disk data structures, so only backup ones get crap
      written to them; that had allowed this bug to remain unnoticed until
      now.
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      de0bb97a
  7. 18 4月, 2006 1 次提交
  8. 11 4月, 2006 1 次提交
  9. 09 1月, 2006 2 次提交
  10. 29 11月, 2005 1 次提交
  11. 31 10月, 2005 1 次提交
  12. 23 9月, 2005 1 次提交
  13. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4