]> git.baikalelectronics.ru Git - kernel.git/commit
md/raid5: abort any pending parity operations when array fails.
authorNeilBrown <neilb@suse.de>
Tue, 8 Nov 2011 05:22:01 +0000 (16:22 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 8 Nov 2011 05:22:01 +0000 (16:22 +1100)
commit383c78c837779c241731435536a55775928cc4c4
tree4bcff31bacd9b242360f48dad706d8b5231ffafe
parentee62ff854712868eaa83b506713bfd0a11c5dead
md/raid5: abort any 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 91969afc74ce6d84253bd1ff9c193047421c4638
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