Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45726
b: refs/heads/master
c: 9554317
h: refs/heads/master
v: v3
  • Loading branch information
Linas Vepstas authored and Linus Torvalds committed Jan 23, 2007
1 parent 449aa77 commit 92a8d51
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 3a7122923e87fc5cdf8affa1845924a0def4657d
refs/heads/master: 95543179f158b4891c5dc49004853ce081e8d794
11 changes: 6 additions & 5 deletions trunk/block/elevator.c
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,12 @@ void elv_insert(request_queue_t *q, struct request *rq, int where)
*/
rq->cmd_flags |= REQ_SOFTBARRIER;

/*
* Most requeues happen because of a busy condition,
* don't force unplug of the queue for that case.
*/
unplug_it = 0;

if (q->ordseq == 0) {
list_add(&rq->queuelist, &q->queue_head);
break;
Expand All @@ -604,11 +610,6 @@ void elv_insert(request_queue_t *q, struct request *rq, int where)
}

list_add_tail(&rq->queuelist, pos);
/*
* most requeues happen because of a busy condition, don't
* force unplug of the queue for that case.
*/
unplug_it = 0;
break;

default:
Expand Down

0 comments on commit 92a8d51

Please sign in to comment.