diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-04-16 13:33:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-04-16 13:33:41 -0400 |
commit | d733ed6c34be3aef0517a04e4103eed6b369ec50 (patch) | |
tree | b49723304c48c2f877b9cb284a4b39361934c670 /kernel/sched.c | |
parent | 08150c533c57981054324b9e87dbf686006d890f (diff) | |
parent | 49cac01e1fa74174d72adb0e872504a7fefd7c01 (diff) |
Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block
* 'for-linus' of git://git.kernel.dk/linux-2.6-block:
block: make unplug timer trace event correspond to the schedule() unplug
block: let io_schedule() flush the plug inline
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index a187c3fe027b..312f8b95c2d4 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -4118,7 +4118,7 @@ need_resched: | |||
4118 | */ | 4118 | */ |
4119 | if (blk_needs_flush_plug(prev)) { | 4119 | if (blk_needs_flush_plug(prev)) { |
4120 | raw_spin_unlock(&rq->lock); | 4120 | raw_spin_unlock(&rq->lock); |
4121 | blk_flush_plug(prev); | 4121 | blk_schedule_flush_plug(prev); |
4122 | raw_spin_lock(&rq->lock); | 4122 | raw_spin_lock(&rq->lock); |
4123 | } | 4123 | } |
4124 | } | 4124 | } |