diff options
author | Jan Kara <jack@suse.com> | 2016-01-12 16:24:16 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-02-04 09:50:12 -0700 |
commit | 6c80731c75bd3289d35b89a21a4e317cbcb306e3 (patch) | |
tree | 6436e8e33ca1f8cd62a46c900547bab559504384 /certs | |
parent | e795421e40b39bf874c5ed9434365fb4a4b6c5d1 (diff) |
cfq-iosched: Reorder checks in cfq_should_preempt()
Move check for preemption by rt class up. There is no functional change
but it makes arguing about conditions simpler since we can be sure both
cfq queues are from the same ioprio class.
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jan Kara <jack@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions