1. 02 11月, 2007 5 次提交
    • V
      dm: bounce_pfn limit added · 5ec140e6
      Vasily Averin 提交于
      Device mapper uses its own bounce_pfn that may differ from one on underlying
      device. In that way dm can build incorrect requests that contain sg elements
      greater than underlying device is able to handle.
      
      This is the cause of slab corruption in i2o layer, occurred on i386 arch when
      very long direct IO requests are addressed to dm-over-i2o device.
      Signed-off-by: NVasily Averin <vvs@sw.ru>
      Cc: <stable@kernel.org>
      Cc: Alasdair G Kergon <agk@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      5ec140e6
    • A
      Deadline iosched: Fix batching fairness · 6f5d8aa6
      Aaron Carroll 提交于
      After switching data directions, deadline always starts the next batch
      from the lowest-sector request.  This gives excessive deadline expiries
      and large latency and throughput disparity between high- and low-sector
      requests; an order of magnitude in some tests.
      
      This patch changes the batching behaviour so new batches start from the
      request whose expiry is earliest.
      Signed-off-by: NAaron Carroll <aaronc@gelato.unsw.edu.au>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      6f5d8aa6
    • A
      Deadline iosched: Reset batch for ordered requests · dfb3d72a
      Aaron Carroll 提交于
      The deadline I/O scheduler does not reset the batch count when starting
      a new batch at a higher-sectored request.  This means the second and
      subsequent batch in the same data direction will never exceed a single
      request in size whenever higher-sectored requests are pending.
      
      This patch gives new batches in the same data direction as old ones
      their full quota of requests by resetting the batch count.
      Signed-off-by: NAaron Carroll <aaronc@gelato.unsw.edu.au>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      dfb3d72a
    • A
      Deadline iosched: Factor out finding latter reques · 5d1a5366
      Aaron Carroll 提交于
      Factor finding the next request in sector-sorted order into
      a function deadline_latter_request.
      Signed-off-by: NAaron Carroll <aaronc@gelato.unsw.edu.au>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      5d1a5366
    • L
      Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 · 54866f03
      Linus Torvalds 提交于
      * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
        [IRDA] IRNET: Fix build when TCGETS2 is defined.
        [NET]: docbook fixes for netif_ functions
        [NET]: Hide the net_ns kmem cache
        [NET]: Mark the setup_net as __net_init
        [NET]: Hide the dead code in the net_namespace.c
        [NET]: Relax the reference counting of init_net_ns
        [NETNS]: Make the init/exit hooks checks outside the loop
        [NET]: Forget the zero_it argument of sk_alloc()
        [NET]: Remove bogus zero_it argument from sk_alloc
        [NET]: Make the sk_clone() lighter
        [NET]: Move some core sock setup into sk_prot_alloc
        [NET]: Auto-zero the allocated sock object
        [NET]: Cleanup the allocation/freeing of the sock object
        [NET]: Move the get_net() from sock_copy()
        [NET]: Move the sock_copy() from the header
        [TCP]: Another TAGBITS -> SACKED_ACKED|LOST conversion
        [TCP]: Process DSACKs that reside within a SACK block
      54866f03
  2. 01 11月, 2007 29 次提交
  3. 31 10月, 2007 6 次提交