md/raid6: asynchronous handle_parity_check6
authorDan Williams <dan.j.williams@intel.com>
Tue, 14 Jul 2009 20:40:57 +0000 (13:40 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sun, 30 Aug 2009 02:13:13 +0000 (19:13 -0700)
commitd82dfee0ad8f240fef1b28e2258891c07da57367
tree44431399bef701c52f413c364f80751c18ff1179
parenta9b39a741a7e3b262b9f51fefb68e17b32756999
md/raid6: asynchronous handle_parity_check6

[ Based on an original patch by Yuri Tikhonov ]

Implement the state machine for handling the RAID-6 parities check and
repair functionality.  Note that the raid6 case does not need to check
for new failures, like raid5, as it will always writeback the correct
disks.  The raid5 case can be updated to check zero_sum_result to avoid
getting confused by new failures rather than retrying the entire check
operation.

Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/md/raid5.c