Files
ack-tegra/Documentation
Dan Williams 0a82a6239b async_tx: add support for asynchronous RAID6 recovery operations
async_raid6_2data_recov() recovers two data disk failures

 async_raid6_datap_recov() recovers a data disk and the P disk

These routines are a port of the synchronous versions found in
drivers/md/raid6recov.c.  The primary difference is breaking out the xor
operations into separate calls to async_xor.  Two helper routines are
introduced to perform scalar multiplication where needed.
async_sum_product() multiplies two sources by scalar coefficients and
then sums (xor) the result.  async_mult() simply multiplies a single
source by a scalar.

This implemention also includes, in contrast to the original
synchronous-only code, special case handling for the 4-disk and 5-disk
array cases.  In these situations the default N-disk algorithm will
present 0-source or 1-source operations to dma devices.  To cover for
dma devices where the minimum source count is 2 we implement 4-disk and
5-disk handling in the recovery code.

[ Impact: asynchronous raid6 recovery routines for 2data and datap cases ]

Cc: Yuri Tikhonov <yur@emcraft.com>
Cc: Ilya Yanok <yanok@emcraft.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: David Woodhouse <David.Woodhouse@intel.com>
Reviewed-by: Andre Noll <maan@systemlinux.org>
Acked-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2009-08-29 19:09:27 -07:00
..
2008-10-30 11:38:45 -07:00
2008-10-16 11:21:30 -07:00
2008-10-30 15:55:47 +01:00
2008-10-30 11:38:45 -07:00
2009-01-06 17:21:00 +01:00
2008-10-30 11:38:47 -07:00
2009-01-14 21:42:51 +01:00
2008-10-30 11:38:45 -07:00
2008-10-16 11:21:29 -07:00
2009-03-10 15:55:11 -07:00
2009-01-06 15:59:03 -08:00
2008-10-30 11:38:45 -07:00
2008-12-03 16:09:53 -07:00
2008-07-25 10:53:30 -07:00
2008-11-12 17:17:18 -08:00
2008-11-14 10:39:26 +11:00
2008-11-28 13:15:14 +01:00
2008-10-16 11:21:40 -07:00
2008-10-20 15:43:10 +02:00
2008-08-12 16:07:30 -07:00
2009-03-31 15:18:37 +11:00
2008-11-12 17:17:17 -08:00