Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172921
b: refs/heads/master
c: dddb745
h: refs/heads/master
i:
  172919: a98259f
v: v3
  • Loading branch information
Corrado Zoccolo authored and Jens Axboe committed Nov 2, 2009
1 parent d426ed9 commit b38f037
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: ab0a9735e06914ce4d2a94ffa41497dbc142fe7f
refs/heads/master: dddb74519aec2081204d203a97578c9fc4e9fb64
8 changes: 3 additions & 5 deletions trunk/block/cfq-iosched.c
Original file line number Diff line number Diff line change
Expand Up @@ -2359,12 +2359,10 @@ static void cfq_prio_boost(struct cfq_queue *cfqq)
cfqq->ioprio = IOPRIO_NORM;
} else {
/*
* check if we need to unboost the queue
* unboost the queue (if needed)
*/
if (cfqq->ioprio_class != cfqq->org_ioprio_class)
cfqq->ioprio_class = cfqq->org_ioprio_class;
if (cfqq->ioprio != cfqq->org_ioprio)
cfqq->ioprio = cfqq->org_ioprio;
cfqq->ioprio_class = cfqq->org_ioprio_class;
cfqq->ioprio = cfqq->org_ioprio;
}
}

Expand Down

0 comments on commit b38f037

Please sign in to comment.