Revert "dm: only run the queue on completion if congested or no requests pending"
authorMike Snitzer <snitzer@redhat.com>
Wed, 8 Jul 2015 20:08:24 +0000 (16:08 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Aug 2015 19:21:54 +0000 (12:21 -0700)
commit9bf9f8b09de63b57c39968491ae9301b8114a43d
treef79efc5808d5c05199a889c53049a3dd9a944345
parent68b9e67311ca10a0bdce6ab2939ca0ff3ebac91b
Revert "dm: only run the queue on completion if congested or no requests pending"

commit 621739b00e16ca2d80411dc9b111cb15b91f3ba9 upstream.

This reverts commit 9a0e609e3fd8a95c96629b9fbde6b8c5b9a1456a.
(Resolved a conflict during revert due to commit bfebd1cdb4 that came
after)

This revert is motivated by a couple failure reports on request-based DM
multipath testbeds:
1) Netapp reported that their multipath fault injection test under heavy
   IO load can stall longer than 300 seconds.
2) IBM reported elevated lock contention in their testbed (likely due to
   increased back pressure due to IO not being dispatched as quickly):
   https://www.redhat.com/archives/dm-devel/2015-July/msg00057.html

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/dm.c