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)
committerMike Snitzer <snitzer@redhat.com>
Wed, 8 Jul 2015 20:16:07 +0000 (16:16 -0400)
commit621739b00e16ca2d80411dc9b111cb15b91f3ba9
tree76870c96eaa41113cb8f99669531c9f53dba12a5
parent1c7518794a3647eb345d59ee52844e8a40405198
Revert "dm: only run the queue on completion if congested or no requests pending"

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>
Cc: stable@vger.kernel.org # 4.1+
drivers/md/dm.c