aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnilKumar Chimata <anilc@codeaurora.org>2014-12-10 14:12:30 +0530
committerMister Oyster <oysterized@gmail.com>2017-12-27 18:35:58 +0100
commita069c6ac6e1b91b0c8ec0587c4ee981b8dcb344c (patch)
tree739eb5c9aed9e429637d4d9fce1f85dff8f7ba49
parent605223089af8d72ea1029393b6d1f69b6c37a0ad (diff)
dm: Stop the dm_request calls in idle
Even if there are no pending peek work, dm layer trying to schedule the work with 10ms time delay. This patch fixes the issue by putting back the table entry. Change-Id: I0e5df117fae74ae37a621862f254220706f0d840 Signed-off-by: AnilKumar Chimata <anilc@codeaurora.org>
-rw-r--r--drivers/md/dm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index 975bb316a..7493cb3b8 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -1740,7 +1740,7 @@ static void dm_request_fn(struct request_queue *q)
while (!blk_queue_stopped(q)) {
rq = blk_peek_request(q);
if (!rq)
- goto delay_and_out;
+ goto out;
/* always use block 0 to find the target for flushes for now */
pos = 0;