]> git.baikalelectronics.ru Git - kernel.git/commit
dm: run queue on re-queue
authorJunichi Nomura <j-nomura@ce.jp.nec.com>
Tue, 26 May 2015 08:25:54 +0000 (08:25 +0000)
committerMike Snitzer <snitzer@redhat.com>
Tue, 26 May 2015 13:57:36 +0000 (09:57 -0400)
commite3f858d5a4fc1f8d7d68f27dcbf95f2f1ec4f68b
tree21d89ca0af832460d364e6feb72fbf5296edc99b
parent7ea797fb7fe5c494f95e30c47c07c23308fb498e
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 c69163c6522d
("block: remove per-queue plugging"), which replaced conditional
plugging by periodic runqueue.

Commit 567cc26c818f in v4.1-rc1 removed the periodic runqueue
and the problem started to manifest.

Fixes: 567cc26c818f ("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>
drivers/md/dm.c