|
@@ -3969,7 +3969,6 @@ cfq_should_preempt(struct cfq_data *cfqd, struct cfq_queue *new_cfqq,
|
|
|
/* Allow preemption only if we are idling on sync-noidle tree */
|
|
/* Allow preemption only if we are idling on sync-noidle tree */
|
|
|
if (cfqd->serving_wl_type == SYNC_NOIDLE_WORKLOAD &&
|
|
if (cfqd->serving_wl_type == SYNC_NOIDLE_WORKLOAD &&
|
|
|
cfqq_type(new_cfqq) == SYNC_NOIDLE_WORKLOAD &&
|
|
cfqq_type(new_cfqq) == SYNC_NOIDLE_WORKLOAD &&
|
|
|
- new_cfqq->service_tree->count == 2 &&
|
|
|
|
|
RB_EMPTY_ROOT(&cfqq->sort_list))
|
|
RB_EMPTY_ROOT(&cfqq->sort_list))
|
|
|
return true;
|
|
return true;
|
|
|
|
|
|