• Divyesh Shah's avatar
    cfq-iosched: Respect ioprio_class when preempting · 875feb63
    Divyesh Shah authored
    In cfq_should_preempt(), we currently allow some cases where a non-RT request
    can preempt an ongoing RT cfqq timeslice. This should not happen.
    Examples include:
    
    o A sync_noidle wl type non-RT request pre-empting a sync_noidle wl type cfqq
      on which we are idling.
    o Once we have per-cgroup async queues, a non-RT sync request pre-empting a RT
      async cfqq.
    
    Signed-off-by: Divyesh Shah<dpshah@google.com>
    Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
    875feb63
cfq-iosched.c 98.2 KB