Skip to content
  • Jens Axboe's avatar
    cfq-iosched: improve preemption for cooperating tasks · 1e3335de
    Jens Axboe authored
    
    
    When testing the syslet async io approach, I discovered that CFQ
    sometimes didn't perform as well as expected. cfq_should_preempt()
    needs to better check for cooperating tasks, so fix that by allowing
    preemption of an equal priority queue if the recently queued request
    is as good a candidate for IO as the one we are currently waiting for.
    
    Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
    1e3335de