From ccfa991df3e393d77481b7c569fde9793e560bd1 Mon Sep 17 00:00:00 2001 From: Mike Snitzer Date: Tue, 16 Jun 2015 14:46:05 -0400 Subject: [RHEL6.7 PATCH] Revert "[md] dm: don't schedule delayed run of the queue if nothing to do" This reverts commit 0497cfb32fc8539b407ced867934b6cf9df8ed4f. --- drivers/md/dm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 8b3ecbb..6bbd26a 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -2034,7 +2034,7 @@ static void dm_request_fn(struct request_queue *q) while (!blk_queue_plugged(q) && !blk_queue_stopped(q)) { rq = blk_peek_request(q); if (!rq) - goto out; + goto plug_and_out; /* always use block 0 to find the target for flushes for now */ pos = 0; -- 1.7.4.4