Skip to content
  • Jens Axboe's avatar
    cfq-iosched: don't let idling interfere with plugging · b029195d
    Jens Axboe authored
    
    
    When CFQ is waiting for a new request from a process, currently it'll
    immediately restart queuing when it sees such a request. This doesn't
    work very well with streamed IO, since we then end up splitting IO
    that would otherwise have been merged nicely. For a simple dd test,
    this causes 10x as many requests to be issued as we should have.
    Normally this goes unnoticed due to the low overhead of requests
    at the device side, but some hardware is very sensitive to request
    sizes and there it can cause big slow downs.
    
    Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
    b029195d