1. 09 11月, 2007 1 次提交
  2. 16 10月, 2007 1 次提交
  3. 10 10月, 2007 1 次提交
  4. 24 7月, 2007 1 次提交
  5. 24 5月, 2007 1 次提交
  6. 17 3月, 2007 1 次提交
    • A
      [PATCH] fix read past end of array in md/linear.c · bed31ed9
      Andy Isaacson 提交于
      When iterating through an array, one must be careful to test one's index
      variable rather than another similarly-named variable.
      
      The loop will read off the end of conf->disks[] in the following
      (pathological) case:
      
        % dd bs=1 seek=840716287 if=/dev/zero of=d1 count=1
        % for i in 2 3 4; do dd if=/dev/zero of=d$i bs=1k count=$(($i+150)); done
        % ./vmlinux ubd0=root ubd1=d1 ubd2=d2 ubd3=d3 ubd4=d4
        # mdadm -C /dev/md0 --level=linear --raid-devices=4 /dev/ubd[1234]
      
      adding some printks, I saw this:
      
        [42949374.960000] hash_spacing = 821120
        [42949374.960000] cnt          = 4
        [42949374.960000] min_spacing  = 801
        [42949374.960000] j=0 size=820928 sz=820928
        [42949374.960000] i=0 sz=820928 hash_spacing=820928
        [42949374.960000] j=1 size=64 sz=64
        [42949374.960000] j=2 size=64 sz=128
        [42949374.960000] j=3 size=64 sz=192
        [42949374.960000] j=4 size=1515870810 sz=1515871002
      
      Cc: Gautham R Shenoy <ego@in.ibm.com>
      Acked-by: NNeil Brown <neilb@cse.unsw.edu.au>
      Cc: <stable@kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      bed31ed9
  7. 03 10月, 2006 1 次提交
  8. 06 8月, 2006 1 次提交
  9. 27 6月, 2006 1 次提交
  10. 07 1月, 2006 3 次提交
  11. 01 11月, 2005 1 次提交
    • J
      [BLOCK] Unify the seperate read/write io stat fields into arrays · a362357b
      Jens Axboe 提交于
      Instead of having ->read_sectors and ->write_sectors, combine the two
      into ->sectors[2] and similar for the other fields. This saves a branch
      several places in the io path, since we don't have to care for what the
      actual io direction is. On my x86-64 box, that's 200 bytes less text in
      just the core (not counting the various drivers).
      Signed-off-by: NJens Axboe <axboe@suse.de>
      a362357b
  12. 10 9月, 2005 2 次提交
  13. 22 6月, 2005 1 次提交
  14. 17 5月, 2005 1 次提交
  15. 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