Dan Williams bd2ab67030 md: close a livelock window in handle_parity_checks5
If a failure is detected after a parity check operation has been initiated,
but before it completes handle_parity_checks5 will never quiesce operations on
the stripe.

Explicitly handle this case by "canceling" the parity check, i.e.  clear the
STRIPE_OP_CHECK flags and queue the stripe on the handle list again to refresh
any non-uptodate blocks.

Kernel versions >= 2.6.23 are susceptible.

Cc: <stable@kernel.org>
Cc: NeilBrown <neilb@suse.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-11 08:06:44 -07:00
..
2006-01-01 22:21:50 +01:00
2007-10-20 02:01:11 +01:00
2005-04-16 15:20:36 -07:00
2008-03-28 14:45:22 -07:00
2007-10-20 02:01:11 +01:00
2007-10-20 02:01:12 +01:00
2007-10-20 02:01:07 +01:00
2007-10-20 02:01:18 +01:00
2007-05-09 12:30:47 -07:00
2008-02-08 02:10:16 +00:00
2008-02-08 02:11:19 +00:00
2007-10-20 02:01:21 +01:00
2007-10-20 02:00:57 +01:00
2008-02-08 02:10:35 +00:00
2007-10-20 02:01:07 +01:00
2008-02-08 02:11:24 +00:00
2008-02-14 21:13:33 -08:00
2007-10-20 02:01:07 +01:00
2007-10-20 02:01:26 +01:00
2007-10-20 02:01:26 +01:00
2007-12-20 17:32:11 +00:00
2008-02-08 02:10:32 +00:00
2007-10-20 02:01:24 +01:00
2008-02-06 10:41:18 -08:00
2005-09-17 11:49:58 -07:00
2007-10-29 07:41:32 -07:00
2005-09-17 11:49:58 -07:00
2005-04-16 15:20:36 -07:00
2007-10-29 07:41:32 -07:00
2005-04-16 15:20:36 -07:00
2007-10-29 07:41:32 -07:00
2007-10-29 07:41:32 -07:00
2007-10-29 07:41:32 -07:00
2005-04-16 15:20:36 -07:00