Revert "dm mirror: use all available legs on multiple failures"
authorMike Snitzer <snitzer@redhat.com>
Thu, 15 Jun 2017 12:39:15 +0000 (08:39 -0400)
committerMike Snitzer <snitzer@redhat.com>
Thu, 15 Jun 2017 12:39:15 +0000 (08:39 -0400)
commitcd15fb64ee56192760ad5c1e2ad97a65e735b18b
tree971d9033cab38cf860c72d081e57922416ca5b21
parent2ad50606f847a902303a5364b7cad64bdd6246f6
Revert "dm mirror: use all available legs on multiple failures"

This reverts commit 12a7cf5ba6c776a2621d8972c7d42e8d3d959d20.

This commit apparently attempted to fix an issue that didn't really
exist, furthermore: this commit is the source of deadlocks and crashes
seen in multiple cases related to failing the primary mirror dev while
syncing.

Reported-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-raid1.c