Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 594f3f5c authored by AnilKumar Chimata's avatar AnilKumar Chimata Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarAnilKumar Chimata <anilc@codeaurora.org>
parent fb120d64
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1870,7 +1870,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;