Skip to content
  • Vasily Tarasov's avatar
    cfq: async queue allocation per priority · c2dea2d1
    Vasily Tarasov authored
    
    
    If we have two processes with different ioprio_class, but the same
    ioprio_data, their async requests will fall into the same queue. I guess
    such behavior is not expected, because it's not right to put real-time
    requests and best-effort requests in the same queue.
    
    The attached patch fixes the problem by introducing additional *cfqq
    fields on cfqd, pointing to per-(class,priority) async queues.
    
    Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
    c2dea2d1