commit | 6c80731c75bd3289d35b89a21a4e317cbcb306e3 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.com> | Tue Jan 12 16:24:16 2016 +0100 |
committer | Jens Axboe <axboe@fb.com> | Thu Feb 04 09:50:12 2016 -0700 |
tree | 6436e8e33ca1f8cd62a46c900547bab559504384 | |
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>