blk_run_queue() as well as blk_start_queue() plug the device on reentry
and schedule blk_unplug_work() right afterwards. However,
blk_plug_device() takes care of that already and makes sure that there is
a short delay before blk_unplug_work() is scheduled. This is important
to prevent busy looping and possibly system lockups as observed here:
<http://permalink.gmane.org/gmane.linux.ide/28351>.
Signed-off-by: Elias Oltmanns <eo@nebensachen.de>
Cc: <stable@kernel.org>
---
block/blk-core.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/block/blk-core.c b/block/blk-core.c
index 2a438a9..e88a6f2 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -344,7 +344,6 @@ void blk_start_queue(struct request_queue *q)
clear_bit(QUEUE_FLAG_REENTER, &q->queue_flags);
} else {
blk_plug_device(q);
- kblockd_schedule_work(&q->unplug_work);
}
}
EXPORT_SYMBOL(blk_start_queue);
@@ -412,7 +411,6 @@ void blk_run_queue(struct request_queue *q)
clear_bit(QUEUE_FLAG_REENTER, &q->queue_flags);
} else {
blk_plug_device(q);
- kblockd_schedule_work(&q->unplug_work);
}
}
--
| Christoph Hellwig | Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interface for on access scan... |
| David Miller | [GIT]: Networking |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Tetsuo Handa | Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation,pathname matching |
git: | |
| Junio C Hamano | [RFD] On deprecating "git-foo" for builtins |
| Raimund Bauer | [wishlist] graphical diff |
| Dana How | [PATCH v3] Support ent:relative_path |
| Li Frank-B20596 | why not TortoiseGit |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Glenn Griffin | [PATCH] Add IPv6 support to TCP SYN cookies |
| Alexey Suslikov | OT: OpenBSD on Asus eeePC |
| Daniele Pilenga | HP nw9440 does not boot ACPI snapshot |
| Peter | OpenBSD as Virtualbox guest |
| Calomel | Re: Remove escape characters from file |
