Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 230597
b: refs/heads/master
c: 7278c9c
h: refs/heads/master
i:
  230595: 406aef5
v: v3
  • Loading branch information
Gui Jianfeng authored and Jens Axboe committed Dec 17, 2010
1 parent f7a1a7c commit da949a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a8adbe378b56acd5945df70753c7e8f6fe223304
refs/heads/master: 7278c9c19bd85cf33213a2e0b538a18d3ac8ad00
6 changes: 0 additions & 6 deletions trunk/block/cfq-iosched.c
Original file line number Diff line number Diff line change
Expand Up @@ -2103,12 +2103,6 @@ static void choose_service_tree(struct cfq_data *cfqd, struct cfq_group *cfqg)
unsigned group_slice;
enum wl_prio_t original_prio = cfqd->serving_prio;

if (!cfqg) {
cfqd->serving_prio = IDLE_WORKLOAD;
cfqd->workload_expires = jiffies + 1;
return;
}

/* Choose next priority. RT > BE > IDLE */
if (cfq_group_busy_queues_wl(RT_WORKLOAD, cfqd, cfqg))
cfqd->serving_prio = RT_WORKLOAD;
Expand Down

0 comments on commit da949a1

Please sign in to comment.