summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.c
diff options
context:
space:
mode:
authorJunichi Nomura <j-nomura@ce.jp.nec.com>2015-05-26 08:25:54 +0000
committerMike Snitzer <snitzer@redhat.com>2015-05-26 09:57:36 -0400
commit4ae9944d132b160d444fa3aa875307eb0fa3eeec (patch)
tree21d89ca0af832460d364e6feb72fbf5296edc99b /drivers/md/dm.c
parentba155e2d21f6bf05de86a78dbe5bfd8757604a65 (diff)
downloadop-kernel-dev-4ae9944d132b160d444fa3aa875307eb0fa3eeec.zip
op-kernel-dev-4ae9944d132b160d444fa3aa875307eb0fa3eeec.tar.gz
dm: run queue on re-queue
Without kicking queue, requeued request may stay forever in the queue if there are no other I/O activities to the device. The original error had been in v2.6.39 with commit 7eaceaccab5f ("block: remove per-queue plugging"), which replaced conditional plugging by periodic runqueue. Commit 9d1deb83d489 in v4.1-rc1 removed the periodic runqueue and the problem started to manifest. Fixes: 9d1deb83d489 ("dm: don't schedule delayed run of the queue if nothing to do") Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm.c')
-rw-r--r--drivers/md/dm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index a930b72..0bf79a0 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -1164,6 +1164,7 @@ static void old_requeue_request(struct request *rq)
spin_lock_irqsave(q->queue_lock, flags);
blk_requeue_request(q, rq);
+ blk_run_queue_async(q);
spin_unlock_irqrestore(q->queue_lock, flags);
}
OpenPOWER on IntegriCloud