]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md/raid5: abort an pending parity operations when array fails.
authorNeilBrown <neilb@suse.de>
Mon, 7 Nov 2011 00:06:36 +0000 (11:06 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 7 Nov 2011 00:06:36 +0000 (11:06 +1100)
commit399b35fba07d0b7fc6cd086808c04789fceae45a
treeafc06f753f3a637adabf9387d217473af3cb5c50
parent7fcc7c8acf0fba44d19a713207af7e58267c1179
md/raid5: abort an pending parity operations when array fails.

When the number of failed devices exceeds the allowed number
we must abort any active parity operations (checks or updates) as they
are no longer meaningful, and can lead to a BUG_ON in
handle_parity_checks6.

This bug was introduce by commit 6c0069c0ae9659e3a91b68eaed06a5c6c37f45c8
in 2.6.29.

Reported-by: Manish Katiyar <mkatiyar@gmail.com>
Tested-by: Manish Katiyar <mkatiyar@gmail.com>
Acked-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Cc: stable@kernel.org
drivers/md/raid5.c