1. 15 5月, 2009 1 次提交
    • J
      Revert "mm: add /proc controls for pdflush threads" · cd17cbfd
      Jens Axboe 提交于
      This reverts commit fafd688e.
      
      Work is progressing to switch away from pdflush as the process backing
      for flushing out dirty data. So it seems pointless to add more knobs
      to control pdflush threads. The original author of the patch did not
      have any specific use cases for adding the knobs, so we can easily
      revert this before 2.6.30 to avoid having to maintain this API
      forever.
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      cd17cbfd
  2. 12 5月, 2009 2 次提交
    • A
      viocd: needs to depend on BLOCK · 05dc7b61
      Alexander Beregalov 提交于
      Fix this build error when CONFIG_BLOCK is not set:
      drivers/cdrom/viocd.c: In function 'viocd_blk_open':
      drivers/cdrom/viocd.c:156: error: dereferencing pointer to incomplete type
      drivers/cdrom/viocd.c: In function 'viocd_blk_release':
      drivers/cdrom/viocd.c:162: error: dereferencing pointer to incomplete type
      drivers/cdrom/viocd.c: In function 'viocd_blk_ioctl':
      drivers/cdrom/viocd.c:170: error: dereferencing pointer to incomplete type
      drivers/cdrom/viocd.c: In function 'viocd_blk_media_changed':
      drivers/cdrom/viocd.c:176: error: dereferencing pointer to incomplete type
      ...
      Signed-off-by: NAlexander Beregalov <a.beregalov@gmail.com>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      05dc7b61
    • K
      block: fix the bio_vec array index out-of-bounds test · af498d7f
      Kazuhisa Ichikawa 提交于
      Current bio_vec array index out-of-bounds test within
      __end_that_request_first() does not seem correct.
      It checks bio->bi_idx against bio->bi_vcnt, but the subsequent code
      uses idx (which is, bio->bi_idx + next_idx) as the array index into
      bio_vec array. This means that the test really make sense only at
      the first iteration of !(nr_bytes >=bio->bi_size) case (when next_idx
      == zero). Fix this by replacing bio->bi_idx with idx.
      (This patch applies to 2.6.30-rc4.)
      Signed-off-by: NKazuhisa Ichikawa <ki@epsilou.com>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      af498d7f
  3. 11 5月, 2009 8 次提交
  4. 10 5月, 2009 17 次提交
  5. 09 5月, 2009 12 次提交